From 1ffd5265545c80babc9e7002ff42a64a0453d589 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Sat, 13 Oct 2012 15:18:11 +0300 Subject: disable warnings in the test suite --- test/run-tests.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/run-tests.js') 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); -- cgit v1.2.3