This commit is contained in:
Yasuhiro Matsumoto 2019-09-30 17:10:21 +09:00 committed by mattn
parent 80c1d52a0d
commit e24991527b

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