(f *testing.F)
| 19 | ) |
| 20 | |
| 21 | func FuzzParser(f *testing.F) { |
| 22 | f.Add([]byte("1 + 2")) |
| 23 | f.Add([]byte("a.b.c == 'test'")) |
| 24 | f.Fuzz(func(t *testing.T, in []byte) { |
| 25 | env, err := getCELFuzzEnv() |
| 26 | if err != nil { |
| 27 | panic(err) |
| 28 | } |
| 29 | _, _ = env.Parse(string(in)) |
| 30 | }) |
| 31 | } |
| 32 |
nothing calls this directly
no test coverage detected