Add MD040 with tests.

This commit is contained in:
David Anson 2015-04-16 09:13:56 -07:00
parent 7e431f4499
commit 5d6d9d2b3b
10 changed files with 54 additions and 7 deletions

View file

@ -498,7 +498,7 @@ module.exports.badFileSync = function badFileSync(test) {
};
module.exports.readme = function readme(test) {
test.expect(92);
test.expect(95);
var tagToRules = {};
rules.forEach(function forRule(rule) {
rule.tags.forEach(function forTag(tag) {
@ -555,7 +555,7 @@ module.exports.readme = function readme(test) {
};
module.exports.doc = function doc(test) {
test.expect(143);
test.expect(147);
fs.readFile("doc/Rules.md", shared.utf8Encoding,
function readFile(err, contents) {
test.ifError(err);