Added missing </code> in test text string (#36040)
				
					
				
			This commit is contained in:
		
				
					committed by
					
						 Oliver Eyton-Williams
						Oliver Eyton-Williams
					
				
			
			
				
	
			
			
			
						parent
						
							a863078b02
						
					
				
				
					commit
					08c4807b09
				
			| @@ -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'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user