Skip to content

Commit

Permalink
Always copy/create BOM tests, even if they already exist.
Browse files Browse the repository at this point in the history
Useful if editing tests, so you don't have to keep deleting the
test/less-bom folder between each test.
  • Loading branch information
DotNetSparky committed Jan 15, 2015
1 parent 023dd62 commit d7f79be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/less-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,7 @@ module.exports = function() {
}

function prepBomTest() {
if (!fs.existsSync(bomFolder) || fs.readdirSync(bomFolder).length == 0)
copyBom.copyFolderWithBom(normalFolder, bomFolder);
copyBom.copyFolderWithBom(normalFolder, bomFolder);
}

function runTestSet(options, foldername, verifyFunction, nameModifier, doReplacements, getFilename) {
Expand Down

0 comments on commit d7f79be

Please sign in to comment.