Skip to content

Commit

Permalink
Merge pull request #134 from zaygraveyard/fix-typo-in-tests
Browse files Browse the repository at this point in the history
fix(test/sourcemap): make concat test more similar to `gulp-concat` behavior.
  • Loading branch information
terinjokes committed Sep 17, 2015
2 parents 44cc797 + 82abf51 commit 1f3bd5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sourcemap.js
Expand Up @@ -10,7 +10,7 @@ var testContents1Input = '(function(first, second) {\n console.log(first + se
var testContents1Expected = uglifyjs.minify(testContents1Input, {fromString: true}).code;
var testContents2Input = '(function(alert) {\n alert(5);\n}(alert));\n';
var testContents2Expected = uglifyjs.minify(testContents2Input, {fromString: true}).code;
var testConcatExpected = uglifyjs.minify(testContents1Expected + testContents2Input, {fromString: true}).code;
var testConcatExpected = uglifyjs.minify(testContents1Input + '\n' + testContents2Input, {fromString: true}).code;

test('should minify files', function(t) {
t.plan(11);
Expand Down

0 comments on commit 1f3bd5f

Please sign in to comment.