This commit is contained in:
Yasuhiro Matsumoto 2017-10-26 15:18:07 +09:00
parent 2866ebbdc5
commit bd72aa305d

View File

@ -71,10 +71,10 @@ func TestGetStatus(t *testing.T) {
t.Fatalf("want %q but %q", "💩", status.Emojis[0]) t.Fatalf("want %q but %q", "💩", status.Emojis[0])
} }
if status.Emojis[0].URL != "http://example.com" { if status.Emojis[0].URL != "http://example.com" {
t.Fatalf("want %q but %q", "https://example.com", static.Emojis[0].URL) t.Fatalf("want %q but %q", "https://example.com", status.Emojis[0].URL)
} }
if status.Emojis[0].StaticURL != "http://example.com/static" { if status.Emojis[0].StaticURL != "http://example.com/static" {
t.Fatalf("want %q but %q", "https://example.com/static", static.Emojis[0].URL) t.Fatalf("want %q but %q", "https://example.com/static", status.Emojis[0].StaticURL)
} }
} }