Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FuzzWrongType (0.13 sec)

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

    # Test panic with different type of args to f.Add
    ! go test -run FuzzAddDifferentType fuzz_add_test.go
    ! stdout ^ok
    stdout FAIL
    
    # Test that the wrong type given with f.Add will fail.
    ! go test -run FuzzWrongType fuzz_add_test.go
    ! stdout ^ok
    stdout '\[string int\], want \[\[\]uint8 int8\]'
    stdout FAIL
    
    # Test fatal with testdata seed corpus
    ! go test -run FuzzFail corpustesting/fuzz_testdata_corpus_test.go
    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