mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-24 02:55:23 -04:00
Export ErrUnexpected from the parser package so the fuzz test can use errors.Is to detect when the parser's recover() handler caught a runtime panic. Previously these were silently swallowed; now FuzzParseExpr fails on them. Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| corpus_gen | ||
| .gitignore | ||
| corpus.go | ||
| corpus_protobuf.go | ||
| fuzz_test.go | ||