From d626e9bf19108177aba438ce81649af9f373bac0 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sat, 17 Feb 2018 02:37:13 +0800 Subject: improve `inline` efficiency (#2924) --- test/mocha/minify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/mocha/minify.js') diff --git a/test/mocha/minify.js b/test/mocha/minify.js index 65392ee4..1b0052a4 100644 --- a/test/mocha/minify.js +++ b/test/mocha/minify.js @@ -226,7 +226,7 @@ describe("minify", function() { content: "inline" } }); - assert.strictEqual(result.code, "var bar=function(){return function(bar){return bar}}();"); + assert.strictEqual(result.code, "var bar=function(bar){return bar};"); assert.strictEqual(warnings.length, 1); assert.strictEqual(warnings[0], "inline source map not found"); } finally { -- cgit v1.2.3