aboutsummaryrefslogtreecommitdiff
path: root/test/ufuzz
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-05-10 09:35:03 +0100
committerGitHub <noreply@github.com>2020-05-10 16:35:03 +0800
commit33f3b0c1d9654e137b54802afbfb6d8e70c8cbd6 (patch)
treeb12bd4c6ccecbd4271c98afc22e6537dfcc0ef38 /test/ufuzz
parentabb8ae02a55b3e3585685362cbae99c6b7a9a380 (diff)
downloadtracifyjs-33f3b0c1d9654e137b54802afbfb6d8e70c8cbd6.tar.gz
tracifyjs-33f3b0c1d9654e137b54802afbfb6d8e70c8cbd6.zip
fix corner case in `reduce_vars` (#3867)
fixes #3866
Diffstat (limited to 'test/ufuzz')
-rw-r--r--test/ufuzz/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js
index 1a2163ed..616378cf 100644
--- a/test/ufuzz/index.js
+++ b/test/ufuzz/index.js
@@ -1181,7 +1181,7 @@ for (var round = 1; round <= num_iterations; round++) {
}
}
} else {
- uglify_code = uglify_code.error;
+ uglify_code = uglify_result = uglify_code.error;
ok = sandbox.same_stdout(original_result, uglify_result);
}
if (verbose || (verbose_interval && !(round % INTERVAL_COUNT)) || !ok) log(options);