mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user