From 555797058ae41e3cc0825831520dee7fb77b3ce5 Mon Sep 17 00:00:00 2001 From: Katie Hockman Date: Tue, 6 Oct 2020 17:13:26 -0400 Subject: [PATCH] [dev.fuzz] testing: fix error message checked in tests Change-Id: Ie40bcca896b95f575d7edd054fbe7a8029d2fc5a Reviewed-on: https://go-review.googlesource.com/c/go/+/259977 Run-TryBot: Katie Hockman TryBot-Result: Go Bot Trust: Katie Hockman Trust: Jay Conrod Reviewed-by: Jay Conrod --- src/cmd/go/testdata/script/test_fuzz.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd/go/testdata/script/test_fuzz.txt b/src/cmd/go/testdata/script/test_fuzz.txt index d9aa718987..8f3242dc5e 100644 --- a/src/cmd/go/testdata/script/test_fuzz.txt +++ b/src/cmd/go/testdata/script/test_fuzz.txt @@ -41,21 +41,21 @@ stdout ok ! stdout ^ok ! stdout 'fatal here' stdout FAIL -stdout illegal +stdout 'f.Fuzz function' # Test that f.Error within f.Fuzz panics ! go test error_fuzz_fn_fuzz_test.go ! stdout ^ok ! stdout 'error here' stdout FAIL -stdout illegal +stdout 'f.Fuzz function' # Test that f.Skip within f.Fuzz panics ! go test skip_fuzz_fn_fuzz_test.go ! stdout ^ok ! stdout 'skip here' stdout FAIL -stdout illegal +stdout 'f.Fuzz function' # Test that multiple calls to f.Fuzz causes a non-zero exit status. ! go test multiple_fuzz_calls_fuzz_test.go -- 2.48.1