From 33f3b0c1d9654e137b54802afbfb6d8e70c8cbd6 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sun, 10 May 2020 09:35:03 +0100 Subject: fix corner case in `reduce_vars` (#3867) fixes #3866 --- test/ufuzz/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ufuzz/index.js') 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); -- cgit v1.2.3