Added </code> to test text (#19498)
This commit is contained in:
parent
49d90f3dde
commit
345dfd6dad
@ -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");'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user