diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-10-13 15:18:11 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-10-13 15:18:11 +0300 |
commit | 1ffd5265545c80babc9e7002ff42a64a0453d589 (patch) | |
tree | 63c2aa2c938e3418a0fa73a7f8d814170918046c /test | |
parent | fcc0229087c4efd212a1050f38d3049d52344b3a (diff) | |
download | tracifyjs-1ffd5265545c80babc9e7002ff42a64a0453d589.tar.gz tracifyjs-1ffd5265545c80babc9e7002ff42a64a0453d589.zip |
disable warnings in the test suite
Diffstat (limited to 'test')
-rwxr-xr-x | test/run-tests.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/run-tests.js b/test/run-tests.js index 87301412..001140f3 100755 --- 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); |