From fccc89de47a3ed5fc576f28f7f02b1111a59c0c4 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 6 Oct 2021 11:34:14 +0200 Subject: refactor: move repo and delta in their own package --- main_test.go | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'main_test.go') 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() {} -- cgit v1.2.3