Added missing </code> in test text string (#36040)

This commit is contained in:
Matt Schlosser
2019-05-14 02:06:55 -06:00
committed by Oliver Eyton-Williams
parent a863078b02
commit 08c4807b09

View File

@ -29,7 +29,7 @@ We have defined a function, <code>forecast</code>, that takes an array as an arg
```yml
tests:
- text: <code>forecast</code> should return <code>["warm", "sunny"]
- text: <code>forecast</code> should return <code>["warm", "sunny"]</code>
testString: assert.deepEqual(forecast(['cold', 'rainy', 'warm', 'sunny', 'cool', 'thunderstorms']), ['warm', 'sunny'], '<code>forecast</code> should return <code>["warm", "sunny"]</code>');
- text: The <code>forecast</code> function should utilize the <code>slice()</code> method
testString: assert(/\.slice\(/.test(code), 'The <code>forecast</code> function should utilize the <code>slice()</code> method');