From 4792a11fd33d9fbaee58fadb326f200017a3b4ed Mon Sep 17 00:00:00 2001 From: Shane C Date: Thu, 21 Nov 2024 12:12:05 -0500 Subject: [PATCH] fix typos --- local_errors_test.go | 4 ++-- s3_errors_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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)