mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-23 00:38:28 +00:00
fix blockstore_test TestDelete
This commit is contained in:
parent
fac706fb4f
commit
cdaf8865a2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue