This commit is contained in:
Andy Wang 2020-04-24 01:04:51 +01:00
parent acc0a1a2dd
commit e508ade14b
1 changed files with 2 additions and 2 deletions

View File

@ -304,8 +304,8 @@ func TestLocalManager_UploadStatus(t *testing.T) {
t.Error(err)
}
if len(resps) != 1 {
t.Fatal("expecting 1 response")
if len(resps) == 0 {
t.Fatal("expecting responses")
}
resp := resps[0]