From 660710203416bbcb5b914513a68a148b9d06589a Mon Sep 17 00:00:00 2001 From: overallteach Date: Wed, 15 May 2024 15:58:09 +0800 Subject: [PATCH] chore: fix function name in comment Signed-off-by: overallteach --- vfs/vfs_test.go | 6 +++--- vfs/vfstest_test.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vfs/vfs_test.go b/vfs/vfs_test.go index d0914ddb3..cc55dd2f4 100644 --- a/vfs/vfs_test.go +++ b/vfs/vfs_test.go @@ -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) diff --git a/vfs/vfstest_test.go b/vfs/vfstest_test.go index df8fec685..df351736e 100644 --- a/vfs/vfstest_test.go +++ b/vfs/vfstest_test.go @@ -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 != "" {