fixed beautify issues

This commit is contained in:
Tobias Koppers 2016-09-08 21:41:03 +02:00
parent fe0c8cafb3
commit c3e6fcf36a
2 changed files with 8 additions and 11 deletions

View File

@ -106,5 +106,4 @@ exportPlugins(exports.optimize = {}, "./optimize", [
"OccurrenceOrderPlugin",
"UglifyJsPlugin"
]);
exportPlugins(exports.dependencies = {}, "./dependencies", [
]);
exportPlugins(exports.dependencies = {}, "./dependencies", []);

View File

@ -202,15 +202,13 @@ describe("Parser", function() {
it("should parse comments", function() {
var source = "//comment1\n/*comment2*/";
var state = [
{
type: 'Line',
value: 'comment1'
}, {
type: 'Block',
value: 'comment2'
}
];
var state = [{
type: 'Line',
value: 'comment1'
}, {
type: 'Block',
value: 'comment2'
}];
var testParser = new Parser({});