diff --git a/local_errors_test.go b/local_errors_test.go index af5386b..a9c095f 100644 --- a/local_errors_test.go +++ b/local_errors_test.go @@ -25,12 +25,12 @@ func TestStorageLocalErrors(t *testing.T) { assert.NoError(t, err) t.Log("== FileNotExistErr ==") - _, err = stor.Stat("nonexistant") + _, err = stor.Stat("nonexistent") assert.Error(t, err) assert.Equal(t, ErrFileNotFound, err) t.Log("== FolderNotExistErr ==") - _, err = stor.ReadDir("nonexistant") + _, err = stor.ReadDir("nonexistent") assert.Error(t, err) assert.Equal(t, ErrFolderNotFound, err) diff --git a/s3_errors_test.go b/s3_errors_test.go index cbd263f..1070080 100644 --- a/s3_errors_test.go +++ b/s3_errors_test.go @@ -17,12 +17,12 @@ func TestStorageS3Errors(t *testing.T) { assert.NoError(t, err) t.Log("== FileNotExistErr ==") - _, err = stor.Stat("nonexistant") + _, err = stor.Stat("nonexistent") assert.Error(t, err) assert.Equal(t, ErrFileNotFound, err) t.Log("== FolderNotExistErr ==") - _, err = stor.ReadDir("nonexistant") + _, err = stor.ReadDir("nonexistent") assert.Error(t, err) assert.Equal(t, ErrFolderNotFound, err)