diff --git a/pkg/files/files_test.go b/pkg/files/files_test.go index 1a094dd..1f82e49 100644 --- a/pkg/files/files_test.go +++ b/pkg/files/files_test.go @@ -2,12 +2,12 @@ package files import "testing" -const path = "/mnt/data/music/Various" -const urlBase = "/srv/ftp/" +const base = "/srv/ftp" +const path = "/music/Various" func BenchmarkScanDirectory(b *testing.B) { for i := 0; i < b.N; i++ { - /*e, _, _ :=*/ ScanDirectory(path, urlBase) + /*e, _, _ :=*/ ScanDirectory(base, path) // b.Log(e[len(e)-1], len(e)) } }