@@ -63,7 +63,7 @@ func TestStubTB(t *testing.T) {
6363 s .Test (`.FailNow` , func (t * testcase.T ) {
6464 assert .Must (t ).True (! stub .Get (t ).IsFailed )
6565 var ran bool
66- internal .RecoverExceptGoexit (func () {
66+ internal .RecoverGoexit (func () {
6767 stub .Get (t ).FailNow ()
6868 ran = true
6969 })
@@ -81,7 +81,7 @@ func TestStubTB(t *testing.T) {
8181 stb := stub .Get (t )
8282 assert .Must (t ).True (! stb .IsFailed )
8383 var ran bool
84- internal .RecoverExceptGoexit (func () {
84+ internal .RecoverGoexit (func () {
8585 stb .Log ("-" )
8686 stb .Fatal (`arg1` , `arg2` , `arg3` )
8787 ran = true
@@ -94,7 +94,7 @@ func TestStubTB(t *testing.T) {
9494 s .Test (`.Fatalf` , func (t * testcase.T ) {
9595 assert .Must (t ).True (! stub .Get (t ).IsFailed )
9696 var ran bool
97- internal .RecoverExceptGoexit (func () {
97+ internal .RecoverGoexit (func () {
9898 stub .Get (t ).Log ("-" )
9999 stub .Get (t ).Fatalf (`%s %q %s` , `arg1` , `arg2` , `arg3` )
100100 ran = true
@@ -148,7 +148,7 @@ func TestStubTB(t *testing.T) {
148148 s .Test (`.Skip` , func (t * testcase.T ) {
149149 assert .Must (t ).True (! stub .Get (t ).Skipped ())
150150 var ran bool
151- internal .RecoverExceptGoexit (func () {
151+ internal .RecoverGoexit (func () {
152152 stub .Get (t ).Skip ()
153153 ran = true
154154 })
@@ -160,7 +160,7 @@ func TestStubTB(t *testing.T) {
160160 assert .Must (t ).True (! stub .Get (t ).Skipped ())
161161 var ran bool
162162 args := []any {"Hello" , "world!" }
163- internal .RecoverExceptGoexit (func () {
163+ internal .RecoverGoexit (func () {
164164 stub .Get (t ).Skip (args ... )
165165 ran = true
166166 })
@@ -172,7 +172,7 @@ func TestStubTB(t *testing.T) {
172172 s .Test (`.Skipf + args` , func (t * testcase.T ) {
173173 assert .Must (t ).True (! stub .Get (t ).Skipped ())
174174 var ran bool
175- internal .RecoverExceptGoexit (func () {
175+ internal .RecoverGoexit (func () {
176176 stub .Get (t ).Skipf ("%s" , "|v|" )
177177 ran = true
178178 })
@@ -184,7 +184,7 @@ func TestStubTB(t *testing.T) {
184184 s .Test (`.SkipNow + .Skipped` , func (t * testcase.T ) {
185185 assert .Must (t ).True (! stub .Get (t ).Skipped ())
186186 var ran bool
187- internal .RecoverExceptGoexit (func () {
187+ internal .RecoverGoexit (func () {
188188 stub .Get (t ).SkipNow ()
189189 ran = true
190190 })
@@ -195,7 +195,7 @@ func TestStubTB(t *testing.T) {
195195 s .Test (`.Skipf` , func (t * testcase.T ) {
196196 assert .Must (t ).True (! stub .Get (t ).Skipped ())
197197 var ran bool
198- internal .RecoverExceptGoexit (func () {
198+ internal .RecoverGoexit (func () {
199199 stub .Get (t ).Skipf (`%s` , `arg42` )
200200 ran = true
201201 })
0 commit comments