fix test
This commit is contained in:
parent
a4d531815f
commit
2866ebbdc5
|
@ -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")
|
t.Fatalf("want %q but %q", "https://example.com", static.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")
|
t.Fatalf("want %q but %q", "https://example.com/static", static.Emojis[0].URL)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user