From: Alex Lam S.L Date: Mon, 28 Oct 2019 08:04:07 +0000 (+0800) Subject: fix corner case in ufuzz (#3538) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=95618793a4b85775a8958e239cb4f192822dc1f1;p=UglifyJS.git fix corner case in ufuzz (#3538) --- diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js index e6ee3fde..51e79ed6 100644 --- a/test/ufuzz/index.js +++ b/test/ufuzz/index.js @@ -1060,7 +1060,7 @@ function log(options) { errorln("//============================================================="); if (!ok) errorln("// !!!!!! Failed... round " + round); errorln("// original code"); - try_beautify(orig_code(options.compress.unsafe_math), options.toplevel, original_result, errorln); + try_beautify(orig_code(options.compress && options.compress.unsafe_math), options.toplevel, original_result, errorln); errorln(); errorln(); errorln("//-------------------------------------------------------------");