This commit is contained in:
Yasuhiro Matsumoto 2017-10-26 15:02:33 +09:00
parent a4d531815f
commit 2866ebbdc5

View File

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