summaryrefslogtreecommitdiff
path: root/main_test.go
diff options
context:
space:
mode:
authorHorus32015-03-19 16:41:39 +0100
committerHorus32015-03-19 16:41:39 +0100
commit77b167ceae8904d827571a0ba7bfa13fac28a40e (patch)
treedc320a8b89911686ebc7af79e2335968aa488e38 /main_test.go
parente14cf986a916e1a7361b058224ef3badd3aad776 (diff)
downloadfreemail-77b167ceae8904d827571a0ba7bfa13fac28a40e.tar.gz
Regression.
Diffstat (limited to 'main_test.go')
-rw-r--r--main_test.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/main_test.go b/main_test.go
new file mode 100644
index 0000000..dfb296e
--- /dev/null
+++ b/main_test.go
@@ -0,0 +1,15 @@
+package main
+
+/*
+//Go version 1.4+ only.
+
+import (
+ "os"
+ "testing"
+)
+
+func TestMain(m *testing.M) {
+ InitDB()
+ os.Exit(m.Run())
+}
+*/