Skip to content

Commit

Permalink
test: fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin authored and joshwiens committed Mar 9, 2017
1 parent 16c0858 commit ac7ab1f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion test/moduleMinimizeTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ describe("module minimize", function() {
var source = fs.readFileSync(path.join(testCasesPath, name, "source.css"), "utf-8");
var expected = fs.readFileSync(path.join(testCasesPath, name, "expected.css"), "utf-8");

test(name, source, expected, "?module&minimize&sourceMap&-discardComments&localIdentName=_[local]_");
test(name, source, expected, '?' + JSON.stringify({
module: true,
sourceMap: true,
minimize: {
discardComments: false
},
localIdentName: '_[local]_'
}));
});
});

0 comments on commit ac7ab1f

Please sign in to comment.