Copy to ClipboardRawPreviewfunc TestMain(m *testing.M) { os.Exit(m.Run()) }test main00lucycodes42Go Code SnippetsThe TestMain function will exit the testing.M instance.Shortcut: tm0 CommentsAdd CommentLog in to add a comment