make collapse_vars consistent with toplevel (#1608)

fixes #1605
This commit is contained in:
Alex Lam S.L
2017-03-16 13:22:26 +08:00
committed by GitHub
parent a80b228d8b
commit 5ae04b3545
5 changed files with 52 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ describe("bin/uglifyjs", function () {
});
});
it("Should process inline source map", function(done) {
var command = uglifyjscmd + ' test/input/issue-520/input.js -cm toplevel --in-source-map inline --source-map-inline';
var command = uglifyjscmd + ' test/input/issue-520/input.js -mc toplevel --in-source-map inline --source-map-inline';
exec(command, function (err, stdout) {
if (err) throw err;