Merge branch 'master' of github.com:mattn/go-mastodon

pull/22/head
Yasuhiro Matsumoto 2017-04-17 13:56:17 +09:00
commit 38590d8fd6
3 changed files with 4 additions and 4 deletions

View File

@ -59,7 +59,7 @@ func TestGetBlocks(t *testing.T) {
t.Fatalf("want %q but %q", "foo", bl[0].Username) t.Fatalf("want %q but %q", "foo", bl[0].Username)
} }
if bl[1].Username != "bar" { 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)
} }
} }

View File

@ -188,6 +188,6 @@ func TestGetAccountFollowing(t *testing.T) {
t.Fatalf("want %q but %q", "foo", fl[0].Username) t.Fatalf("want %q but %q", "foo", fl[0].Username)
} }
if fl[1].Username != "bar" { 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)
} }
} }

View File

@ -98,7 +98,7 @@ func TestGetRebloggedBy(t *testing.T) {
t.Fatalf("want %q but %q", "foo", rbs[0].Username) t.Fatalf("want %q but %q", "foo", rbs[0].Username)
} }
if rbs[1].Username != "bar" { 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) t.Fatalf("want %q but %q", "foo", fbs[0].Username)
} }
if fbs[1].Username != "bar" { 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)
} }
} }