From 0dbb943bc7389789c4b06a958fa908f99df409da Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Sun, 10 Jul 2016 22:58:43 +1000 Subject: [PATCH] Skeleton TestMain Used with manual inspection of process after tests finish. --- main_test.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 main_test.go 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) +} -- 2.50.0