mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-17 10:40:27 +08:00
修复一处测试用例
This commit is contained in:
@@ -592,9 +592,7 @@ func TestFileStorage_ScanGarbageCaches(t *testing.T) {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
err = storage.ScanGarbageCaches(func(path string) {
|
err = storage.ScanGarbageCaches(func(path string) error {
|
||||||
t.Log(path)
|
|
||||||
}, func(path string) error {
|
|
||||||
t.Log(path, PartialRangesFilePath(path))
|
t.Log(path, PartialRangesFilePath(path))
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user