mirror of
https://github.com/rclone/rclone.git
synced 2025-08-16 00:28:09 +02:00
vfstest: fix crash if open failed
This commit is contained in:
@ -15,7 +15,7 @@ func TestWriteFileNoWrite(t *testing.T) {
|
||||
run.skipIfNoFUSE(t)
|
||||
|
||||
fd, err := osCreate(run.path("testnowrite"))
|
||||
assert.NoError(t, err)
|
||||
require.NoError(t, err)
|
||||
|
||||
err = fd.Close()
|
||||
assert.NoError(t, err)
|
||||
|
Reference in New Issue
Block a user