diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-03-23 01:31:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 01:31:46 +0800 |
commit | ee95c1b38bcf0fbb6c676e98540c1d33f669e936 (patch) | |
tree | 3523e97d9495b0259cd0c82274eecd36f3020158 /test/mozilla-ast.js | |
parent | 4bceb85cbfa2c944fb97bb3baaa403b266d075c6 (diff) | |
download | tracifyjs-ee95c1b38bcf0fbb6c676e98540c1d33f669e936.tar.gz tracifyjs-ee95c1b38bcf0fbb6c676e98540c1d33f669e936.zip |
metadata cleanup (#1630)
- mention performance anomaly in Node 7 and drop from CI
- remove unused npm "scripts"
- mark browserify dependency as optional
- stop `test/mozilla-ast.js` from spamming console output in later versions of Node.js
Diffstat (limited to 'test/mozilla-ast.js')
-rw-r--r-- | test/mozilla-ast.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mozilla-ast.js b/test/mozilla-ast.js index b5c6c6ed..e4c84df8 100644 --- a/test/mozilla-ast.js +++ b/test/mozilla-ast.js @@ -5,7 +5,7 @@ var UglifyJS = require(".."), escodegen = require("escodegen"), esfuzz = require("esfuzz"), estraverse = require("estraverse"), - prefix = Array(20).join("\b") + " "; + prefix = "\r "; // Normalizes input AST for UglifyJS in order to get correct comparison. @@ -62,7 +62,7 @@ module.exports = function(options) { var ast1 = normalizeInput(esfuzz.generate({ maxDepth: options.maxDepth })); - + var ast2 = UglifyJS .AST_Node |