fix: basic-html-and html5 challenge russian - test (#35544)

This commit is contained in:
Aditi Joshi
2019-05-02 12:08:39 -04:00
committed by Randell Dawson
parent 834648200d
commit 9792dcbe09

View File

@ -25,6 +25,8 @@ tests:
testString: 'assert(code.match(/<\/ul>/gi) && code.match(/<ul/gi) && code.match(/<\/ul>/gi).length === code.match(/<ul/gi).length, "Make sure your <code>ul</code> element has a closing tag.");'
- text: 'Убедитесь, что ваши элементы <code>li</code> закрывают теги.'
testString: 'assert(code.match(/<\/li>/gi) && code.match(/<li[\s>]/gi) && code.match(/<\/li>/gi).length === code.match(/<li[\s>]/gi).length, "Make sure your <code>li</code> elements have closing tags.");'
- text: Убедитесь, что ваши элементы <code>li</ code> не содержат пустую строку или только пробел.
testString: assert($("ul li").filter((_, item) => !$(item).text().trim()).length === 0, 'Make sure your <code>li</code> elements don\t contain an empty string or only white-space.');
```