fix scanner test

This commit is contained in:
sentriz
2020-12-16 21:53:38 +00:00
parent 9295e60316
commit 8c0473e7f6

View File

@@ -51,7 +51,7 @@ func TestMain(m *testing.M) {
} }
// benchmarks aren't real code are they? >:) // benchmarks aren't real code are they? >:)
// here is an absolute path to my music directory // here is an absolute path to my music directory
testScanner = New("/home/senan/music", db) testScanner = New("/home/senan/music", db, "\n")
log.SetOutput(ioutil.Discard) log.SetOutput(ioutil.Discard)
os.Exit(m.Run()) os.Exit(m.Run())
} }