suppress false positives in ufuzz

This commit is contained in:
alexlamsl 2022-05-21 23:49:16 +08:00
parent 1668bc33c3
commit bc8e9c6058

View File

@ -2337,7 +2337,7 @@ function is_error_redeclaration(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) {