forked from TrueCloudLab/rclone
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:
parent
454574e2cc
commit
c08d48a50d
59 changed files with 179 additions and 179 deletions
6
lib/cache/cache_test.go
vendored
6
lib/cache/cache_test.go
vendored
|
@ -158,7 +158,7 @@ func TestCachePin(t *testing.T) {
|
|||
_, err := c.Get("/", create)
|
||||
require.NoError(t, err)
|
||||
|
||||
// Pin a non existent item to show nothing happens
|
||||
// Pin a non-existent item to show nothing happens
|
||||
c.Pin("notfound")
|
||||
|
||||
c.mu.Lock()
|
||||
|
@ -312,7 +312,7 @@ func TestCacheRename(t *testing.T) {
|
|||
|
||||
assert.Equal(t, 2, c.Entries())
|
||||
|
||||
// rename to non existent
|
||||
// rename to non-existent
|
||||
value, found := c.Rename("existing1", "EXISTING1")
|
||||
assert.Equal(t, true, found)
|
||||
assert.Equal(t, existing1, value)
|
||||
|
@ -326,7 +326,7 @@ func TestCacheRename(t *testing.T) {
|
|||
|
||||
assert.Equal(t, 1, c.Entries())
|
||||
|
||||
// rename non existent
|
||||
// rename non-existent
|
||||
value, found = c.Rename("notfound", "NOTFOUND")
|
||||
assert.Equal(t, false, found)
|
||||
assert.Nil(t, value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue