UglifyJS/test
silverwind 9aae4f2424 make tests compatible with Node.js 12 (#3304)
In Node.js 12, the formatting of console arguments will change slightly.
Previously, a string other than the first argument was formatted using
single quotes if the first argument was non-string. Now, quotes are
never added regardless of position of a string argument.

To make test compatible in all Node.js versions, I work around by
ensuring the first argument to console.log is a string which prevents
the quotes from being added on older versions of Node.js.

Ref: https://github.com/nodejs/node/pull/23162
2019-03-13 04:55:04 +08:00
..
compress make tests compatible with Node.js 12 (#3304) 2019-03-13 04:55:04 +08:00
input general clean-ups (#3175) 2018-06-06 17:50:56 +08:00
mocha fix corner case in unused (#3234) 2018-08-23 06:03:39 +08:00
benchmark.js show benchmark subtotal (#2960) 2018-02-26 11:46:26 +08:00
exports.js fix corner cases in preserve_line (#3212) 2018-07-13 01:51:10 +08:00
fetch.js clean up webkit quirks (#3229) 2018-08-08 16:15:45 +08:00
jetstream.js clean up webkit quirks (#3229) 2018-08-08 16:15:45 +08:00
mocha.js handle asynchronous test failures (#3164) 2018-05-31 20:21:39 +08:00
mozilla-ast.js refactor brackets to braces (#3005) 2018-03-15 15:46:45 +08:00
node.js deprecate low level API (#1877) 2017-05-08 03:24:42 +08:00
run-tests.js fix corner cases in preserve_line (#3212) 2018-07-13 01:51:10 +08:00
sandbox.js fix corner case in mangle workaround for Safari (#3230) 2018-08-09 17:34:28 +08:00
travis-ufuzz.js improve fuzzing on Travis CI 2018-07-13 02:05:52 +08:00
ufuzz.js refactor brackets to braces (#3005) 2018-03-15 15:46:45 +08:00
ufuzz.json fix corner case in ie8 (#3216) 2018-07-19 14:45:36 +08:00