minor tweaks to test/ufuzz.js

- count iterations from `1` instead of `0`
- remove `unsafe` from default set of `minify()` tests
This commit is contained in:
alexlamsl 2017-04-02 02:33:23 +08:00
parent 28ecea50a6
commit 57ee6badf8
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -27,7 +27,6 @@
"keep_fargs": false,
"passes": 3,
"pure_getters": true,
"unsafe": true,
"warnings": false
}
}