mirror of
https://github.com/rclone/rclone.git
synced 2024-11-24 07:38:22 +08:00
chore: fix function name in comment
Signed-off-by: overallteach <cricis@foxmail.com>
This commit is contained in:
parent
c6c327e4e7
commit
6607102034
|
@ -125,7 +125,7 @@ func TestVFSbaseHandle(t *testing.T) {
|
|||
assert.Nil(t, node)
|
||||
}
|
||||
|
||||
// TestNew sees if the New command works properly
|
||||
// TestVFSNew sees if the New command works properly
|
||||
func TestVFSNew(t *testing.T) {
|
||||
// Check active cache has this many entries
|
||||
checkActiveCacheEntries := func(i int) {
|
||||
|
@ -162,7 +162,7 @@ func TestVFSNew(t *testing.T) {
|
|||
checkActiveCacheEntries(0)
|
||||
}
|
||||
|
||||
// TestNew sees if the New command works properly
|
||||
// TestVFSNewWithOpts sees if the New command works properly
|
||||
func TestVFSNewWithOpts(t *testing.T) {
|
||||
var opt = vfscommon.DefaultOpt
|
||||
opt.DirPerms = 0777
|
||||
|
@ -174,7 +174,7 @@ func TestVFSNewWithOpts(t *testing.T) {
|
|||
assert.Equal(t, os.FileMode(0664), vfs.Opt.FilePerms)
|
||||
}
|
||||
|
||||
// TestRoot checks root directory is present and correct
|
||||
// TestVFSRoot checks root directory is present and correct
|
||||
func TestVFSRoot(t *testing.T) {
|
||||
_, vfs := newTestVFS(t)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/rclone/rclone/vfs/vfstest"
|
||||
)
|
||||
|
||||
// TestExt runs more functional tests all the tests against all the
|
||||
// TestFunctional runs more functional tests all the tests against all the
|
||||
// VFS cache modes
|
||||
func TestFunctional(t *testing.T) {
|
||||
if *fstest.RemoteName != "" {
|
||||
|
|
Loading…
Reference in New Issue
Block a user