From: Cherry Mui Date: Thu, 23 May 2024 03:09:56 +0000 (-0400) Subject: runtime: update TestExitHooks error strings X-Git-Tag: go1.23rc1~160 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f109bdd1278d59fc6c506d1db50c52f0e969348e;p=gostls13.git 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 LUCI-TryBot-Result: Go LUCI Reviewed-by: Than McIntosh --- diff --git a/src/runtime/ehooks_test.go b/src/runtime/ehooks_test.go index ee286ecb9a..2265256a0b 100644 --- a/src/runtime/ehooks_test.go +++ b/src/runtime/ehooks_test.go @@ -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", }, }