projects
/
btrtrc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40aa30d
)
Skeleton TestMain
author
Matt Joiner <anacrolix@gmail.com>
Sun, 10 Jul 2016 12:58:43 +0000 (22:58 +1000)
committer
Matt Joiner <anacrolix@gmail.com>
Sun, 10 Jul 2016 12:58:43 +0000 (22:58 +1000)
Used with manual inspection of process after tests finish.
main_test.go
[new file with mode: 0644]
patch
|
blob
diff --git a/main_test.go
b/main_test.go
new file mode 100644
(file)
index 0000000..
b6e4623
--- /dev/null
+++ b/
main_test.go
@@ -0,0
+1,12
@@
+package torrent
+
+import (
+ "os"
+ "testing"
+)
+
+func TestMain(m *testing.M) {
+ code := m.Run()
+ // select {}
+ os.Exit(code)
+}