mirror of
https://github.com/golang/go
synced 2024-11-14 22:40:40 -07:00
runtime: update TestExitHooks error strings
The error strings were changed in CL 586259 and no longer include "internal error". Update the strings in the test. Should fix the longtest builders. Change-Id: If227d4b79a8bf5e52a32c3b2eceb086241f079aa Reviewed-on: https://go-review.googlesource.com/c/go/+/587757 Auto-Submit: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
62711d61e5
commit
f109bdd127
@ -48,12 +48,12 @@ func TestExitHooks(t *testing.T) {
|
||||
{
|
||||
mode: "panics",
|
||||
expected: "",
|
||||
musthave: "fatal error: internal error: exit hook invoked panic",
|
||||
musthave: "fatal error: exit hook invoked panic",
|
||||
},
|
||||
{
|
||||
mode: "callsexit",
|
||||
expected: "",
|
||||
musthave: "fatal error: internal error: exit hook invoked exit",
|
||||
musthave: "fatal error: exit hook invoked exit",
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user