fix: removed more assert msg arguments (#36439)

This commit is contained in:
Randell Dawson
2019-07-27 21:16:04 -07:00
committed by Parth Parth
parent 80365163de
commit ba6ae7154c
37 changed files with 76 additions and 76 deletions

View File

@ -51,9 +51,9 @@ tests:
- text: Make sure your <code>li</code> element has a closing tag.
testString: assert(code.match(/<\/li>/g) && code.match(/<li>/g) && code.match(/<\/li>/g).length === code.match(/<li>/g).length);
- text: The <code>li</code> elements in your unordered list should not be empty.
testString: $('ul li').each((i, val) => assert(val.textContent.replace(/\s/g, ''), 'Your <code>li</code> elements in your unordered list should not be empty.'));
testString: $('ul li').each((i, val) => assert(val.textContent.replace(/\s/g, '')));
- text: The <code>li</code> elements in your ordered list should not be empty.
testString: $('ol li').each((i, val) => assert(!!val.textContent.replace(/\s/g, ''), 'Your <code>li</code> elements in your ordered list should not be empty.'));
testString: $('ol li').each((i, val) => assert(!!val.textContent.replace(/\s/g, '')));
```