This commit is contained in:
Yasuhiro Matsumoto 2019-09-30 17:10:21 +09:00
parent 5ab4947807
commit b201152258
No known key found for this signature in database
GPG key ID: 622DE34DC490584B

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