diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.go index 961f861dd..d6ab1bf62 100644 --- a/fstest/fstests/fstests.go +++ b/fstest/fstests/fstests.go @@ -976,6 +976,7 @@ func Run(t *testing.T, opt *Opt) { file2Copy.Path = "z.txt" file2Copy.WinPath = "" fileRemote, err := fs.NewFs(remoteName) + require.NotNil(t, fileRemote) assert.Equal(t, fs.ErrorIsFile, err) fstest.CheckListing(t, fileRemote, []fstest.Item{file2Copy}) })