Changeset 0.15.0 (#71)
This commit is contained in:
15
server/compaction/testmain_test.go
Normal file
15
server/compaction/testmain_test.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package compaction
|
||||
|
||||
import (
|
||||
"os"
|
||||
"testing"
|
||||
|
||||
"git.gobha.me/xcaliber/chat-switchboard/database"
|
||||
)
|
||||
|
||||
func TestMain(m *testing.M) {
|
||||
teardown := database.SetupTestDB()
|
||||
code := m.Run()
|
||||
teardown()
|
||||
os.Exit(code)
|
||||
}
|
||||
Reference in New Issue
Block a user