mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-29 22:51:49 +01:00
fix blockstore_test TestDelete
This commit is contained in:
parent
fac706fb4f
commit
cdaf8865a2
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user