public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcc0229
)
disable warnings in the test suite
author
Mihai Bazon
<mihai@bazon.net>
Sat, 13 Oct 2012 12:18:11 +0000
(15:18 +0300)
committer
Mihai Bazon
<mihai@bazon.net>
Sat, 13 Oct 2012 12:18:11 +0000
(15:18 +0300)
test/run-tests.js
patch
|
blob
|
history
diff --git
a/test/run-tests.js
b/test/run-tests.js
index
8730141
..
001140f
100755
(executable)
--- a/
test/run-tests.js
+++ b/
test/run-tests.js
@@
-67,7
+67,10
@@
function run_compress_tests() {
log_start_file(file);
function test_case(test) {
log_test(test.name);
- var cmp = new U.Compressor(test.options || {}, true);
+ var options = U.defaults(test.options, {
+ warnings: false
+ });
+ var cmp = new U.Compressor(options, true);
var expect = make_code(as_toplevel(test.expect), false);
var input = as_toplevel(test.input);
var output = input.transform(cmp);