Merge branch 'master' of github.com:mattn/go-mastodon
commit
38590d8fd6
|
@ -59,7 +59,7 @@ func TestGetBlocks(t *testing.T) {
|
|||
t.Fatalf("want %q but %q", "foo", bl[0].Username)
|
||||
}
|
||||
if bl[1].Username != "bar" {
|
||||
t.Fatalf("want %q but %q", "bar", bl[0].Username)
|
||||
t.Fatalf("want %q but %q", "bar", bl[1].Username)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -188,6 +188,6 @@ func TestGetAccountFollowing(t *testing.T) {
|
|||
t.Fatalf("want %q but %q", "foo", fl[0].Username)
|
||||
}
|
||||
if fl[1].Username != "bar" {
|
||||
t.Fatalf("want %q but %q", "bar", fl[0].Username)
|
||||
t.Fatalf("want %q but %q", "bar", fl[1].Username)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ func TestGetRebloggedBy(t *testing.T) {
|
|||
t.Fatalf("want %q but %q", "foo", rbs[0].Username)
|
||||
}
|
||||
if rbs[1].Username != "bar" {
|
||||
t.Fatalf("want %q but %q", "bar", rbs[0].Username)
|
||||
t.Fatalf("want %q but %q", "bar", rbs[1].Username)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -134,7 +134,7 @@ func TestGetFavouritedBy(t *testing.T) {
|
|||
t.Fatalf("want %q but %q", "foo", fbs[0].Username)
|
||||
}
|
||||
if fbs[1].Username != "bar" {
|
||||
t.Fatalf("want %q but %q", "bar", fbs[0].Username)
|
||||
t.Fatalf("want %q but %q", "bar", fbs[1].Username)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue