From 0252f39e1763bb2e6ad2b3cb061f50ca6b80d127 Mon Sep 17 00:00:00 2001 From: Syfaro Date: Thu, 14 Apr 2016 14:04:35 -0500 Subject: [PATCH] Add missing t.Fail() --- helpers_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/helpers_test.go b/helpers_test.go index 747c126..64ffe1f 100644 --- a/helpers_test.go +++ b/helpers_test.go @@ -52,6 +52,7 @@ func TestNewInlineQueryResultVideo(t *testing.T) { if result.Type != "video" || result.ID != "id" || result.URL != "google.com" { + t.Fail() } } @@ -62,6 +63,7 @@ func TestNewInlineQueryResultAudio(t *testing.T) { result.ID != "id" || result.URL != "google.com" || result.Title != "title" { + t.Fail() } } @@ -72,6 +74,7 @@ func TestNewInlineQueryResultVoice(t *testing.T) { result.ID != "id" || result.URL != "google.com" || result.Title != "title" { + t.Fail() } } @@ -83,6 +86,7 @@ func TestNewInlineQueryResultDocument(t *testing.T) { result.URL != "google.com" || result.Title != "title" || result.MimeType != "mime/type" { + t.Fail() } } @@ -94,6 +98,7 @@ func TestNewInlineQueryResultLocation(t *testing.T) { result.Title != "name" || result.Latitude != 40 || result.Longitude != 50 { + t.Fail() } }