diff options
| author | Ian Lance Taylor <iant@golang.org> | 2023-01-19 19:18:20 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-01-20 15:49:29 +0000 |
| commit | 8b79c41dd581cebc645c4c330cb325f7f74d9929 (patch) | |
| tree | a1c0b987e80513f4bd889f1d18bab60d4491a403 /src/cmd | |
| parent | c641d48afdf05de8aa15b4110cb07a2165c5f935 (diff) | |
| download | go-8b79c41dd581cebc645c4c330cb325f7f74d9929.tar.xz | |
cmd/go: update test for change in panic(nil) behavior
panic(nil) now panics with runtime.PanicNilError.
For #25448
Change-Id: I58994aa80d4d11f0c5fcd988714f7b4b45c6b5ee
Reviewed-on: https://go-review.googlesource.com/c/go/+/462293
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt b/src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt index aa4aa854d0..47d685d9c1 100644 --- a/src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt +++ b/src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt @@ -25,7 +25,7 @@ stdout 'this input caused a crash!' ! go test -run=FuzzWithNilPanic -fuzz=FuzzWithNilPanic -fuzztime=100x -fuzzminimizetime=1000x stdout 'testdata[/\\]fuzz[/\\]FuzzWithNilPanic[/\\]' -stdout 'runtime.Goexit' +stdout 'panic called with nil argument' go run check_testdata.go FuzzWithNilPanic ! go test -run=FuzzWithGoexit -fuzz=FuzzWithGoexit -fuzztime=100x -fuzzminimizetime=1000x |
