pull/118/head
Yasuhiro Matsumoto 2019-09-30 17:10:21 +09:00 committed by mattn
parent 80c1d52a0d
commit e24991527b
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}
}