test/minifiers/uglify_minifier_test.rb in condenser-0.0.8 vs test/minifiers/uglify_minifier_test.rb in condenser-0.0.9
- old
+ new
@@ -18,11 +18,11 @@
return 2 + 3;
}
JS
- @env.logger.expects(:warn).with('Dropping unused variable a [test.js:2,6]')
- @env.logger.expects(:warn).with('Dropping unused variable c [test.js:4,6]')
+ @env.logger.expects(:warn).with('WARN: Dropping unused variable a [test.js:2,6]')
+ @env.logger.expects(:warn).with('WARN: Dropping unused variable c [test.js:4,6]')
assert_exported_file 'test.js', 'application/javascript', <<~CSS
function fa(){return console.log(1),5}
CSS
end