Index: Refactor mime type detection #391

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer
2020-07-21 14:43:45 +02:00
parent c704642f2e
commit 7d00e68d92
18 changed files with 169 additions and 99 deletions

View File

@@ -12,6 +12,10 @@ func TestMain(m *testing.M) {
log = logrus.StandardLogger()
log.SetLevel(logrus.DebugLevel)
if err := os.Remove(".test.db"); err == nil {
log.Debugln("removed .test.db")
}
c := config.TestConfig()
code := m.Run()