diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2018-02-17 02:37:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-17 02:37:13 +0800 |
commit | d626e9bf19108177aba438ce81649af9f373bac0 (patch) | |
tree | 65d3280c994f65803efccab33148175f59140bc6 /test/mocha/minify.js | |
parent | a2a9459684462224a93710631dcc29624d010e21 (diff) | |
download | tracifyjs-d626e9bf19108177aba438ce81649af9f373bac0.tar.gz tracifyjs-d626e9bf19108177aba438ce81649af9f373bac0.zip |
improve `inline` efficiency (#2924)
Diffstat (limited to 'test/mocha/minify.js')
-rw-r--r-- | test/mocha/minify.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |