diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-10-06 11:34:14 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-10-06 11:34:14 +0200 |
commit | fccc89de47a3ed5fc576f28f7f02b1111a59c0c4 (patch) | |
tree | 9de36f7e6eab07c78d59428b2345aceab34df9cd /main_test.go | |
parent | 9b9710511b0dbe51ac030ef908f9468103b0bd0a (diff) | |
download | dna-backup-fccc89de47a3ed5fc576f28f7f02b1111a59c0c4.tar.gz dna-backup-fccc89de47a3ed5fc576f28f7f02b1111a59c0c4.zip |
refactor: move repo and delta in their own package
Diffstat (limited to 'main_test.go')
-rw-r--r-- | main_test.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/main_test.go b/main_test.go index 27a3d65..06ab7d0 100644 --- a/main_test.go +++ b/main_test.go @@ -1,22 +1 @@ package main - -import ( - "log" - "os" - "testing" - - "github.com/n-peugnet/dna-backup/logger" -) - -func TestMain(m *testing.M) { - setup() - code := m.Run() - shutdown() - os.Exit(code) -} - -func setup() { - logger.SetFlags(log.Lshortfile) -} - -func shutdown() {} |