all repos — telegram-bot-api @ 0252f39e1763bb2e6ad2b3cb061f50ca6b80d127

Golang bindings for the Telegram Bot API

Add missing t.Fail()
Syfaro syfaro@foxpaw.in
Thu, 14 Apr 2016 14:04:35 -0500
commit

0252f39e1763bb2e6ad2b3cb061f50ca6b80d127

parent

e7b9f16e73b8f9d5ba62cc4b0736d493bf72e1d1

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M helpers_test.gohelpers_test.go

@@ -52,6 +52,7 @@

if result.Type != "video" || result.ID != "id" || result.URL != "google.com" { + t.Fail() } }

@@ -62,6 +63,7 @@ if result.Type != "audio" ||

result.ID != "id" || result.URL != "google.com" || result.Title != "title" { + t.Fail() } }

@@ -72,6 +74,7 @@ if result.Type != "voice" ||

result.ID != "id" || result.URL != "google.com" || result.Title != "title" { + t.Fail() } }

@@ -83,6 +86,7 @@ result.ID != "id" ||

result.URL != "google.com" || result.Title != "title" || result.MimeType != "mime/type" { + t.Fail() } }

@@ -94,6 +98,7 @@ result.ID != "id" ||

result.Title != "name" || result.Latitude != 40 || result.Longitude != 50 { + t.Fail() } }