From 57ee6badf82173b13061e38b70720c00a0b959a2 Mon Sep 17 00:00:00 2001 From: alexlamsl Date: Sun, 2 Apr 2017 02:33:23 +0800 Subject: [PATCH] minor tweaks to `test/ufuzz.js` - count iterations from `1` instead of `0` - remove `unsafe` from default set of `minify()` tests --- test/ufuzz.js | 2 +- test/ufuzz.json | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/ufuzz.js b/test/ufuzz.js index 241e0439..9a110c6b 100644 --- a/test/ufuzz.js +++ b/test/ufuzz.js @@ -737,7 +737,7 @@ var minify_options = require("./ufuzz.json").map(function(options) { }); var original_code, original_result; var uglify_code, uglify_result, ok; -for (var round = 0; round < num_iterations; round++) { +for (var round = 1; round <= num_iterations; round++) { process.stdout.write(round + " of " + num_iterations + "\r"); VAR_NAMES.length = INITIAL_NAMES_LEN; // prune any previous names still in the list diff --git a/test/ufuzz.json b/test/ufuzz.json index 8db03d2d..2d871e87 100644 --- a/test/ufuzz.json +++ b/test/ufuzz.json @@ -27,7 +27,6 @@ "keep_fargs": false, "passes": 3, "pure_getters": true, - "unsafe": true, "warnings": false } }