fix blockstore_test TestDelete

This commit is contained in:
Evan Simkowitz 2024-08-26 16:38:57 -07:00
parent fac706fb4f
commit cdaf8865a2
No known key found for this signature in database

View File

@ -165,7 +165,7 @@ func TestDelete(t *testing.T) {
t.Fatalf("error deleting file: %v", err)
}
_, err = WFS.Stat(ctx, zoneId, "testfile")
if err == nil || errors.Is(err, fs.ErrNotExist) {
if err == nil || !errors.Is(err, fs.ErrNotExist) {
t.Errorf("expected file not found error")
}