浏览文件
fuzz_test.go
14 行 · 309 B历史下载| 1 | // SPDX-FileCopyrightText: Copyright The Lima Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | package yqutil |
| 5 | |
| 6 | import ( |
| 7 | "testing" |
| 8 | ) |
| 9 | |
| 10 | func FuzzEvaluateExpression(f *testing.F) { |
| 11 | f.Fuzz(func(t *testing.T, expression string, content []byte) { |
| 12 | _, _ = EvaluateExpression(t.Context(), expression, content) |
| 13 | }) |
| 14 | } |

