improve synergy between compress and rename (#2755)

This commit is contained in:
Alex Lam S.L
2018-01-09 17:55:41 +08:00
committed by GitHub
parent 2972d58dbb
commit bf832cde16
3 changed files with 23 additions and 28 deletions

View File

@@ -383,7 +383,7 @@ describe("minify", function() {
toplevel: true,
},
rename: true,
}).code, "var a2;(a2=y)(a2);");
}).code, "var a;(a=y)(a);");
}
});
});