all: fix spelling across the project
* abcdefghijklmnopqrstuvwxyz * accounting * additional * allowed * almost * already * appropriately * arise * bandwidth * behave * bidirectional * brackets * cached * characters * cloud * committing * concatenating * configured * constructs * current * cutoff * deferred * different * directory * disposition * dropbox * either way * error * excess * experiments * explicitly * externally * files * github * gzipped * hierarchies * huffman * hyphen * implicitly * independent * insensitive * integrity * libraries * literally * metadata * mimics * missing * modification * multipart * multiple * nightmare * nonexistent * number * obscure * ourselves * overridden * potatoes * preexisting * priority * received * remote * replacement * represents * reproducibility * response * satisfies * sensitive * separately * separator * specifying * string * successful * synchronization * syncing * šenfeld * take * temporarily * testcontents * that * the * themselves * throttling * timeout * transaction * transferred * unnecessary * using * webbrowser * which * with * workspace Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -531,14 +531,14 @@ func Run(t *testing.T, opt *Opt) {
|
||||
assert.True(t, len(fsInfo.CommandHelp) > 0, "Command is declared, must return some help in CommandHelp")
|
||||
})
|
||||
|
||||
// TestFsRmdirNotFound tests deleting a non-existent directory
|
||||
// TestFsRmdirNotFound tests deleting a nonexistent directory
|
||||
t.Run("FsRmdirNotFound", func(t *testing.T) {
|
||||
skipIfNotOk(t)
|
||||
if isBucketBasedButNotRoot(f) {
|
||||
t.Skip("Skipping test as non root bucket-based remote")
|
||||
}
|
||||
err := f.Rmdir(ctx, "")
|
||||
assert.Error(t, err, "Expecting error on Rmdir non-existent")
|
||||
assert.Error(t, err, "Expecting error on Rmdir nonexistent")
|
||||
})
|
||||
|
||||
// Make the directory
|
||||
@@ -729,7 +729,7 @@ func Run(t *testing.T, opt *Opt) {
|
||||
o, err := f.NewObject(ctx, "potato")
|
||||
assert.Nil(t, o)
|
||||
assert.Equal(t, fs.ErrorObjectNotFound, err)
|
||||
// Now try an object in a non existing directory
|
||||
// Now try an object in a nonexistent directory
|
||||
o, err = f.NewObject(ctx, "directory/not/found/potato")
|
||||
assert.Nil(t, o)
|
||||
assert.Equal(t, fs.ErrorObjectNotFound, err)
|
||||
@@ -1632,7 +1632,7 @@ func Run(t *testing.T, opt *Opt) {
|
||||
fstest.CheckListingWithRoot(t, rootRemote, configLeaf, []fstest.Item{file1Root, file2Root}, dirs, rootRemote.Precision())
|
||||
})
|
||||
|
||||
// Check that that listing the entries is OK
|
||||
// Check that listing the entries is OK
|
||||
t.Run("ListEntries", func(t *testing.T) {
|
||||
entries, err := rootRemote.List(context.Background(), configLeaf)
|
||||
require.NoError(t, err)
|
||||
@@ -2068,7 +2068,7 @@ func Run(t *testing.T, opt *Opt) {
|
||||
|
||||
// TestFsRootCollapse tests if the root of an fs "collapses" to the
|
||||
// absolute root. It creates a new fs of the same backend type with its
|
||||
// root set to a *non-existent* folder, and attempts to read the info of
|
||||
// root set to a *nonexistent* folder, and attempts to read the info of
|
||||
// an object in that folder, whose name is taken from a directory that
|
||||
// exists in the absolute root.
|
||||
// This test is added after
|
||||
|
||||
Reference in New Issue
Block a user