From 59edda6ca55070265adef23d8c1b8ed12b5a6437 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 21 May 2022 18:36:45 +0100 Subject: [PATCH] suppress false positives in `ufuzz` (#5460) --- test/ufuzz/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {