From 3daf61de23f0f1b078f5e1ad25d9b785bb9d3fc3 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 24 Nov 2018 06:51:54 +0100 Subject: [PATCH] Fixed tests for Go 1.11 --- status_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/status_test.go b/status_test.go index d01531f..eb6a403 100644 --- a/status_test.go +++ b/status_test.go @@ -68,7 +68,7 @@ func TestGetStatus(t *testing.T) { t.Fatal("should have emojis") } if status.Emojis[0].ShortCode != "💩" { - t.Fatalf("want %q but %q", "💩", status.Emojis[0]) + t.Fatalf("want %q but %q", "💩", status.Emojis[0].ShortCode) } if status.Emojis[0].URL != "http://example.com" { t.Fatalf("want %q but %q", "https://example.com", status.Emojis[0].URL)