diff --git a/package.json b/package.json index aeb95d4d..dd27dae5 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "test-cover": "istanbul cover node_modules/nodeunit/bin/nodeunit", "debug": "node debug node_modules/nodeunit/bin/nodeunit", "lint": "eslint lib test & eslint --rule \"no-console: 0, no-shadow: 0\" example", - "example": "cd example & node standalone.js & grunt markdownlint & gulp markdownlint" + "example": "npm install through2 & cd example & node standalone.js & grunt markdownlint & gulp markdownlint" }, "dependencies": { "markdown-it": "^4.1.1" diff --git a/test/markdownlint-test.js b/test/markdownlint-test.js index 3c202e67..8b02493c 100644 --- a/test/markdownlint-test.js +++ b/test/markdownlint-test.js @@ -162,14 +162,16 @@ module.exports.stringInputLineEndings = function stringInputLineEndings(test) { test.expect(2); var options = { "strings": { + "cr": "One\rTwo\r#Three", "lf": "One\nTwo\n#Three", "crlf": "One\r\nTwo\r\n#Three", - "mixed": "One\r\nTwo\n#Three" + "mixed": "One\rTwo\n#Three" } }; markdownlint(options, function callback(err, actualResult) { test.ifError(err); var expectedResult = { + "cr": { "MD018": [ 3 ] }, "lf": { "MD018": [ 3 ] }, "crlf": { "MD018": [ 3 ] }, "mixed": { "MD018": [ 3 ] }