aboutsummaryrefslogtreecommitdiff
path: root/test/ufuzz/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ufuzz/index.js')
-rw-r--r--test/ufuzz/index.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/test/ufuzz/index.js b/test/ufuzz/index.js
index b4059ea4..8f853c9c 100644
--- a/test/ufuzz/index.js
+++ b/test/ufuzz/index.js
@@ -1137,18 +1137,6 @@ function log(options) {
errorln(original_result);
errorln("uglified result:");
errorln(uglify_result);
- errorln("//-------------------------------------------------------------");
- var reduced = reduce_test(original_code, JSON.parse(options), {
- verbose: false,
- }).code;
- if (reduced) {
- errorln();
- errorln("// reduced test case (output will differ)");
- errorln();
- errorln(reduced);
- errorln();
- errorln("//-------------------------------------------------------------");
- }
} else {
errorln("// !!! uglify failed !!!");
errorln(uglify_code);
@@ -1159,6 +1147,18 @@ function log(options) {
errorln(original_result);
}
}
+ errorln("//-------------------------------------------------------------");
+ var reduced = reduce_test(original_code, JSON.parse(options), {
+ verbose: false,
+ }).code;
+ if (reduced) {
+ errorln();
+ errorln("// reduced test case (output will differ)");
+ errorln();
+ errorln(reduced);
+ errorln();
+ errorln("//-------------------------------------------------------------");
+ }
errorln("minify(options):");
errorln(JSON.stringify(JSON.parse(options), null, 2));
errorln();