fix(challenge): Close <code> element with </code> (#15842)

Closes #15185
pull/15846/head
Zuzana 2017-09-04 11:03:40 +01:00 committed by Timo
parent 144ff5f4e4
commit 5c83dd0fde
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@
"console.log(forecast(['cold', 'rainy', 'warm', 'sunny', 'cool', 'thunderstorms']));"
],
"tests": [
"assert.deepEqual(forecast(['cold', 'rainy', 'warm', 'sunny', 'cool', 'thunderstorms']), ['warm', 'sunny'], 'message: <code>forecast</code> should return <code>[\"warm\", \"sunny\"]');",
"assert.deepEqual(forecast(['cold', 'rainy', 'warm', 'sunny', 'cool', 'thunderstorms']), ['warm', 'sunny'], 'message: <code>forecast</code> should return <code>[\"warm\", \"sunny\"]</code>');",
"assert(/\\.slice\\(/.test(code), 'message: The <code>forecast</code> function should utilize the <code>slice()</code> method');"
],
"type": "waypoint",