diff options
Diffstat (limited to 'tests/core/go_test/only_testmain_test.go')
-rw-r--r-- | tests/core/go_test/only_testmain_test.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/core/go_test/only_testmain_test.go b/tests/core/go_test/only_testmain_test.go new file mode 100644 index 00000000..474a3d6c --- /dev/null +++ b/tests/core/go_test/only_testmain_test.go @@ -0,0 +1,10 @@ +package only_testmain + +import ( + "os" + "testing" +) + +func TestMain(m *testing.M) { + os.Exit(m.Run()) +} |