Commit 75a31bc
fix(fuzz): skip json unsupported type errors (#928)
Add skip pattern for json.UnsupportedTypeError in fuzz
test. The toJSON() builtin returns this error when given
non-serializable types like functions (e.g. toJSON(score)).
The existing skip list only covered json: unsupported value
(for NaN/Inf) but not json: unsupported type (for func,
chan, complex types).
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
Co-authored-by: Anton Medvedev <anton@medv.io>1 parent 391930f commit 75a31bc
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
0 commit comments