Skip to content

Commit

Permalink
Added </code> to test text (freeCodeCamp#19498)
Browse files Browse the repository at this point in the history
  • Loading branch information
greggubarev authored and jonathan-grah committed Oct 16, 2018
1 parent 49d90f3 commit 345dfd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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"]'
testString: 'assert.deepEqual(forecast(["cold", "rainy", "warm", "sunny", "cool", "thunderstorms"]), ["warm", "sunny"], "<code>forecast</code> should return <code>["warm", "sunny"]");'
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");'

Expand Down

0 comments on commit 345dfd6

Please sign in to comment.