Skip to content

Commit 1fa0282

Browse files
authored
fix(fuzz): skip invalid location name errors (#907)
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
1 parent 5ef0120 commit 1fa0282

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/fuzz/fuzz_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ func FuzzExpr(f *testing.F) {
3333
regexp.MustCompile(`time: missing unit in duration`),
3434
regexp.MustCompile(`time: unknown unit .* in duration`),
3535
regexp.MustCompile(`unknown time zone`),
36+
regexp.MustCompile(`invalid location name`),
3637
regexp.MustCompile(`json: unsupported value`),
3738
regexp.MustCompile(`unexpected end of JSON input`),
3839
regexp.MustCompile(`memory budget exceeded`),

0 commit comments

Comments
 (0)