[Pkg-javascript-commits] [less.js] 30/58: Always copy/create BOM tests, even if they already exist.
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:28:28 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v2.3.0
in repository less.js.
commit d7f79be40dcacf32940c9c848a0e0f9b7ef27cbd
Author: shaun <shaun at prointegrations.com>
Date: Wed Jan 14 20:49:36 2015 -0800
Always copy/create BOM tests, even if they already exist.
Useful if editing tests, so you don't have to keep deleting the
test/less-bom folder between each test.
---
test/less-test.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/less-test.js b/test/less-test.js
index e9d41a6..f37a89a 100644
--- a/test/less-test.js
+++ b/test/less-test.js
@@ -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) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list