fix(challenges): allows single quotes

pull/18182/head
John Kennedy 2018-07-24 23:44:30 +01:00 committed by Kristofer Koishigawa
parent 8286ff9c46
commit 57dab6d81f
1 changed files with 1 additions and 1 deletions

View File

@ -1012,7 +1012,7 @@
{
"text": "<code>resultDisplayArray</code> is the desired output.",
"testString":
"assert(makeList(result.failure).every((v, i) => v === `<li class=\"text-warning\">${result.failure[i]}</li>`), '<code>resultDisplayArray</code> is the desired output.');"
"assert(makeList(result.failure).every((v, i) => v === `<li class=\"text-warning\">${result.failure[i]}</li>` || v === `<li class='text-warning'>${result.failure[i]}</li>`), '<code>resultDisplayArray</code> is the desired output.');"
},
{
"text": "Template strings were used",