diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js index ca44f521..3784a148 100644 --- a/test/ufuzz/index.js +++ b/test/ufuzz/index.js @@ -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) {