File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ func TestNewInlineQueryResultVideo(t *testing.T) {
5252 if result .Type != "video" ||
5353 result .ID != "id" ||
5454 result .URL != "google.com" {
55+ t .Fail ()
5556 }
5657}
5758
@@ -62,6 +63,7 @@ func TestNewInlineQueryResultAudio(t *testing.T) {
6263 result .ID != "id" ||
6364 result .URL != "google.com" ||
6465 result .Title != "title" {
66+ t .Fail ()
6567 }
6668}
6769
@@ -72,6 +74,7 @@ func TestNewInlineQueryResultVoice(t *testing.T) {
7274 result .ID != "id" ||
7375 result .URL != "google.com" ||
7476 result .Title != "title" {
77+ t .Fail ()
7578 }
7679}
7780
@@ -83,6 +86,7 @@ func TestNewInlineQueryResultDocument(t *testing.T) {
8386 result .URL != "google.com" ||
8487 result .Title != "title" ||
8588 result .MimeType != "mime/type" {
89+ t .Fail ()
8690 }
8791}
8892
@@ -94,6 +98,7 @@ func TestNewInlineQueryResultLocation(t *testing.T) {
9498 result .Title != "name" ||
9599 result .Latitude != 40 ||
96100 result .Longitude != 50 {
101+ t .Fail ()
97102 }
98103}
99104
You can’t perform that action at this time.
0 commit comments