mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 11:13:27 +00:00
os.Remove: avoid double-wrapping err; fixes TODO in test
This commit is contained in:
@@ -63,9 +63,8 @@ func TestRemove(t *testing.T) {
|
||||
t.Errorf("TestRemove: PathError returned path %q, expected %q", pe.Path, f)
|
||||
}
|
||||
}
|
||||
// TODO: make this pass.
|
||||
if !IsNotExist(err) {
|
||||
t.Logf("TestRemove: TODO: expected IsNotExist(err) true, got false; err %q", err.Error())
|
||||
t.Errorf("TestRemove: expected IsNotExist(err) true, got false; err %q", err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user