clarify error message

This commit is contained in:
Christoph Armster 2022-03-10 08:24:52 +01:00
parent d6369bbece
commit b25fb10d4f
1 changed files with 1 additions and 1 deletions

View File

@ -809,7 +809,7 @@ func TestGcsRemoveAll(t *testing.T) {
t.Run("non-existent", func(t *testing.T) { t.Run("non-existent", func(t *testing.T) {
err := gcsAfs.RemoveAll(filepath.Join(bucketName, "a")) err := gcsAfs.RemoveAll(filepath.Join(bucketName, "a"))
if err != nil { if err != nil {
t.Fatal("failed when removing non-existent file") t.Fatal("error should be nil when removing non-existent file")
} }
}) })
t.Run("success", func(t *testing.T) { t.Run("success", func(t *testing.T) {