docs: improve grammar and fix typos (#5361)

This alters some comments in source files, but is interested mainly in documentation files and help messages.
This commit is contained in:
Atílio Antônio
2021-11-04 08:50:43 -03:00
committed by GitHub
parent 454574e2cc
commit c08d48a50d
59 changed files with 179 additions and 179 deletions

View File

@@ -491,14 +491,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 non-existent directory
t.Run("FsRmdirNotFound", func(t *testing.T) {
skipIfNotOk(t)
if isBucketBasedButNotRoot(f) {
t.Skip("Skipping test as non root bucket based remote")
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 non-existent")
})
// Make the directory
@@ -1258,7 +1258,7 @@ func Run(t *testing.T, opt *Opt) {
t.Run("FsRmdirFull", func(t *testing.T) {
skipIfNotOk(t)
if isBucketBasedButNotRoot(f) {
t.Skip("Skipping test as non root bucket based remote")
t.Skip("Skipping test as non root bucket-based remote")
}
err := f.Rmdir(ctx, "")
require.Error(t, err, "Expecting error on RMdir on non empty remote")
@@ -1959,7 +1959,7 @@ func Run(t *testing.T, opt *Opt) {
purged = true
fstest.CheckListing(t, f, []fstest.Item{})
// Check purging again if not bucket based
// Check purging again if not bucket-based
if !isBucketBasedButNotRoot(f) {
err = operations.Purge(ctx, f, "")
assert.Error(t, err, "Expecting error after on second purge")