Text file src/cmd/go/testdata/script/test_fuzz_unsupported.txt

     1  [fuzz] skip
     2  
     3  ! go test -fuzz=. -fuzztime=1x
     4  ! stdout .
     5  stderr '^-fuzz flag is not supported on '$GOOS'/'$GOARCH'$'
     6  
     7  -- go.mod --
     8  module example
     9  
    10  go 1.18
    11  -- fuzz_test.go --
    12  package example
    13  
    14  import "testing"
    15  
    16  func FuzzTrivial(f *testing.F) {
    17  	f.Fuzz(func(t *testing.T, _ []byte) {})
    18  }
    19  

View as plain text