Skip to content

Commit

Permalink
minor rename
Browse files Browse the repository at this point in the history
  • Loading branch information
raj-prince committed May 21, 2024
1 parent 22d4870 commit eac919b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions samples/cachingfs/caching_fs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ func (t *DirCacheTest) NoCacheDirAndNoKeepDirCache() {
AssertNe(names1[1], names2[1])
}

func (t *DirCacheTest) CacheDirWithChangingKeepCacheDir() {
func (t *DirCacheTest) CacheDirWithChangingKeepDirCache() {
t.fs.SetCacheDir(true)
t.fs.SetKeepDirCache(false)

Expand Down Expand Up @@ -924,7 +924,7 @@ func (t *DirCacheTest) CacheDirWithChangingKeepCacheDir() {
AssertNe(names2[1], names3[1])
}

func (t *DirCacheTest) ChangingCacheDirWithKeepCacheDir() {
func (t *DirCacheTest) ChangingCacheDirWithKeepDirCache() {
t.fs.SetCacheDir(true)
t.fs.SetKeepDirCache(true)

Expand Down Expand Up @@ -958,7 +958,7 @@ func (t *DirCacheTest) ChangingCacheDirWithKeepCacheDir() {
AssertNe(names1[1], names2[1])

// Third read will be served from cache.
// But first read response is cached, since KeepCacheDir.
// But first read response is cached, since KeepDirCache.
t.fs.SetCacheDir(true)

// Third read, will be served from filesystem. So, names will be different.
Expand Down

0 comments on commit eac919b

Please sign in to comment.