]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.fuzz] testing: fix error message checked in tests
authorKatie Hockman <katie@golang.org>
Tue, 6 Oct 2020 21:13:26 +0000 (17:13 -0400)
committerFilippo Valsorda <filippo@golang.org>
Fri, 4 Dec 2020 18:17:29 +0000 (19:17 +0100)
Change-Id: Ie40bcca896b95f575d7edd054fbe7a8029d2fc5a
Reviewed-on: https://go-review.googlesource.com/c/go/+/259977
Run-TryBot: Katie Hockman <katie@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Katie Hockman <katie@golang.org>
Trust: Jay Conrod <jayconrod@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/testdata/script/test_fuzz.txt

index d9aa718987ee8e4c94198b8e9f9534f84ae0cfd5..8f3242dc5ee4e2776289973ef0b39152295448f6 100644 (file)
@@ -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