Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FuzzPass (0.28 sec)

  1. src/cmd/go/testdata/script/test_fuzz.txt

    # Test that a panic in the Cleanup func is executed.
    ! go test cleanup_fuzz_test.go
    ! stdout ^ok
    stdout FAIL
    stdout 'failed some precondition'
    
    # Test success with seed corpus in f.Fuzz
    go test -run FuzzPass fuzz_add_test.go
    stdout ok
    ! stdout FAIL
    ! stdout 'off by one error'
    
    # Test fatal with seed corpus in f.Fuzz
    ! go test -run FuzzFatal fuzz_add_test.go
    ! stdout ^ok
    stdout FAIL
    stdout 'fatal here'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top