File tree 2 files changed +4
-4
lines changed
src/cmd/go/testdata/script
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ env GOGC=off
14
14
15
15
! go test -v cleanup_failnow/panic_nocleanup_test.go
16
16
! stdout 'no tests to run'
17
- stdout '(?s)panic: die \[recovered\].*panic: die '
18
- ! stdout '(?s)panic: die \[recovered\].*panic: die .*panic: die'
17
+ stdout '(?s)panic: die \[recovered, reraised\] '
18
+ ! stdout '(?s)panic: die \[recovered, reraised\] .*panic: die'
19
19
20
20
! go test -v cleanup_failnow/panic_withcleanup_test.go
21
21
! stdout 'no tests to run'
@@ -43,4 +43,4 @@ func TestCleanupWithFailNow(t *testing.T) {
43
43
panic("die")
44
44
})
45
45
})
46
- }
46
+ }
Original file line number Diff line number Diff line change 3
3
# Disable vet, as its "tests" analyzer would report the same problem statically.
4
4
5
5
! go test -vet=off .
6
- stdout '^panic: testing: fuzz target must not return a value \[recovered\]$'
6
+ stdout '^panic: testing: fuzz target must not return a value \[recovered, reraised \]$'
7
7
8
8
-- go.mod --
9
9
module test
You can’t perform that action at this time.
0 commit comments