From e24991527b45a2bd5177730f2daa5725f7f5cb15 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 30 Sep 2019 17:10:21 +0900 Subject: [PATCH] Fix test --- mastodon_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon_test.go b/mastodon_test.go index bfcbadc..ef70981 100644 --- a/mastodon_test.go +++ b/mastodon_test.go @@ -264,7 +264,7 @@ func TestGetTimelineHomeWithCancel(t *testing.T) { if err == nil { t.Fatalf("should be fail: %v", err) } - if want := fmt.Sprintf("Post %q: context canceled", ts.URL+"/api/v1/timelines/home"); want != err.Error() { + if want := fmt.Sprintf("Get %q: context canceled", ts.URL+"/api/v1/timelines/home"); want != err.Error() { t.Fatalf("want %q but %q", want, err.Error()) } }