chore: fix function name in comment

Signed-off-by: overallteach <cricis@foxmail.com>
This commit is contained in:
overallteach 2024-05-15 15:58:09 +08:00 committed by Nick Craig-Wood
parent c6c327e4e7
commit 6607102034
2 changed files with 4 additions and 4 deletions

View File

@ -125,7 +125,7 @@ func TestVFSbaseHandle(t *testing.T) {
assert.Nil(t, node) 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) { func TestVFSNew(t *testing.T) {
// Check active cache has this many entries // Check active cache has this many entries
checkActiveCacheEntries := func(i int) { checkActiveCacheEntries := func(i int) {
@ -162,7 +162,7 @@ func TestVFSNew(t *testing.T) {
checkActiveCacheEntries(0) checkActiveCacheEntries(0)
} }
// TestNew sees if the New command works properly // TestVFSNewWithOpts sees if the New command works properly
func TestVFSNewWithOpts(t *testing.T) { func TestVFSNewWithOpts(t *testing.T) {
var opt = vfscommon.DefaultOpt var opt = vfscommon.DefaultOpt
opt.DirPerms = 0777 opt.DirPerms = 0777
@ -174,7 +174,7 @@ func TestVFSNewWithOpts(t *testing.T) {
assert.Equal(t, os.FileMode(0664), vfs.Opt.FilePerms) 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) { func TestVFSRoot(t *testing.T) {
_, vfs := newTestVFS(t) _, vfs := newTestVFS(t)

View File

@ -13,7 +13,7 @@ import (
"github.com/rclone/rclone/vfs/vfstest" "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 // VFS cache modes
func TestFunctional(t *testing.T) { func TestFunctional(t *testing.T) {
if *fstest.RemoteName != "" { if *fstest.RemoteName != "" {