aboutsummaryrefslogtreecommitdiff
path: root/test/ufuzz
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-07-31 01:09:19 +0100
committerGitHub <noreply@github.com>2020-07-31 08:09:19 +0800
commit88423f2574bfd4f158caab1c08a5a5bf1718cab4 (patch)
tree57bf9646a755320b038d1cd0799758ff2c0741dd /test/ufuzz
parentee632a5519078ac3fe97d0864731bea4bdad9365 (diff)
downloadtracifyjs-88423f2574bfd4f158caab1c08a5a5bf1718cab4.tar.gz
tracifyjs-88423f2574bfd4f158caab1c08a5a5bf1718cab4.zip
validate against multiple parents on `AST_Node` (#4032)
- fix related issues in `global_defs`, `ie8` & `reduce_vars`
Diffstat (limited to 'test/ufuzz')
-rw-r--r--test/ufuzz/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js
index 8f853c9c..1123d57e 100644
--- a/test/ufuzz/index.js
+++ b/test/ufuzz/index.js
@@ -1148,7 +1148,9 @@ function log(options) {
}
}
errorln("//-------------------------------------------------------------");
- var reduced = reduce_test(original_code, JSON.parse(options), {
+ var reduce_options = JSON.parse(options);
+ reduce_options.validate = true;
+ var reduced = reduce_test(original_code, reduce_options, {
verbose: false,
}).code;
if (reduced) {