From: Matt Joiner Date: Sun, 10 Jul 2016 12:58:43 +0000 (+1000) Subject: Skeleton TestMain X-Git-Tag: v1.0.0~648 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=0dbb943bc7389789c4b06a958fa908f99df409da;p=btrtrc.git Skeleton TestMain Used with manual inspection of process after tests finish. --- diff --git a/main_test.go b/main_test.go new file mode 100644 index 00000000..b6e46230 --- /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) +}