commit | d7d1e39aaf143ec706959563ce35f471fbcfe921 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri May 14 22:13:32 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri May 14 22:13:32 2021 +0000 |
tree | c0dbc49a8a7bec4ce921b777d3fbb52f845494d1 | |
parent | b1abbada6a08139651419bb48048add0b58eb3af [diff] | |
parent | ce447fc83e6806b515c5409c12e004fa39e58e4b [diff] |
Merge "Support go 1.16 in gotestmain"
diff --git a/gotestmain/gotestmain.go b/gotestmain/gotestmain.go index 8af1818..167e402 100644 --- a/gotestmain/gotestmain.go +++ b/gotestmain/gotestmain.go
@@ -181,6 +181,10 @@ panic("shouldn't get here") } +func (matchString) SetPanicOnExit0(bool) { + panic("shouldn't get here") +} + func main() { {{if .MainStartTakesInterface}} m := testing.MainStart(matchString{}, t, nil, e)