diff options
Diffstat (limited to 'test/mocha')
-rw-r--r-- | test/mocha/glob.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mocha/glob.js b/test/mocha/glob.js index 8567ecb3..eb5d477d 100644 --- a/test/mocha/glob.js +++ b/test/mocha/glob.js @@ -26,12 +26,12 @@ describe("bin/uglifyjs with input file globs", function() { }); }); it("bin/uglifyjs with multiple input file globs.", function(done) { - var command = uglifyjscmd + ' "test/input/issue-1242/???.es5" "test/input/issue-1242/*.js" -mc toplevel'; + var command = uglifyjscmd + ' "test/input/issue-1242/???.es5" "test/input/issue-1242/*.js" -mc toplevel,passes=2'; exec(command, function(err, stdout) { if (err) throw err; - assert.strictEqual(stdout, 'var print=console.log.bind(console);print("qux",9,6),print("Foo:",2*11);\n'); + assert.strictEqual(stdout, 'var print=console.log.bind(console);print("qux",9,6),print("Foo:",22);\n'); done(); }); }); |