aboutsummaryrefslogtreecommitdiff
path: root/test/mocha/huge-number-of-comments.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocha/huge-number-of-comments.js')
-rw-r--r--test/mocha/huge-number-of-comments.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/mocha/huge-number-of-comments.js b/test/mocha/huge-number-of-comments.js
index 3b90bc0e..a58f8d0a 100644
--- a/test/mocha/huge-number-of-comments.js
+++ b/test/mocha/huge-number-of-comments.js
@@ -8,12 +8,7 @@ describe("Huge number of comments.", function() {
for (i = 1; i <= 5000; ++i) { js += "// " + i + "\n"; }
for (; i <= 10000; ++i) { js += "/* " + i + " */ /**/"; }
js += "x; }";
- var result = Uglify.minify(js, {
- fromString: true,
- mangle: false,
- compress: {}
- });
+ var result = Uglify.minify(js, { mangle: false });
assert.strictEqual(result.code, "function lots_of_comments(x){return 7-x}");
});
});
-