suppress false positives in ufuzz (#5460)

This commit is contained in:
Alex Lam S.L
2022-05-21 18:36:45 +01:00
committed by GitHub
parent 1668bc33c3
commit 59edda6ca5

View File

@@ -2337,7 +2337,7 @@ function is_error_redeclaration(ex) {
} }
function is_error_destructuring(ex) { function is_error_destructuring(ex) {
return ex.name == "TypeError" && /^Cannot destructure /.test(ex.message); return ex.name == "TypeError" && /^Cannot (destructure|read propert)/.test(ex.message);
} }
function is_error_class_constructor(ex) { function is_error_class_constructor(ex) {