diff options
Diffstat (limited to 'test/mocha')
-rw-r--r-- | test/mocha/glob.js | 2 | ||||
-rw-r--r-- | test/mocha/minify.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/mocha/glob.js b/test/mocha/glob.js index 56d3f82a..8567ecb3 100644 --- a/test/mocha/glob.js +++ b/test/mocha/glob.js @@ -31,7 +31,7 @@ describe("bin/uglifyjs with input file globs", function() { exec(command, function(err, stdout) { if (err) throw err; - assert.strictEqual(stdout, 'var print=console.log.bind(console),a=function(n){return 3*n}(3),b=function(n){return n/2}(12);print("qux",a,b),function(n){print("Foo:",2*n)}(11);\n'); + assert.strictEqual(stdout, 'var print=console.log.bind(console);print("qux",9,6),print("Foo:",2*11);\n'); done(); }); }); diff --git a/test/mocha/minify.js b/test/mocha/minify.js index 77b798ec..519b725c 100644 --- a/test/mocha/minify.js +++ b/test/mocha/minify.js @@ -106,7 +106,7 @@ describe("minify", function() { content: "inline" } }); - assert.strictEqual(result.code, "var bar=function(){function foo(bar){return bar}return foo}();"); + assert.strictEqual(result.code, "var bar=function(){return function(bar){return bar}}();"); assert.strictEqual(warnings.length, 1); assert.strictEqual(warnings[0], "inline source map not found"); } finally { |