fix: update tests for create and add to sets challenge (#18838)
This commit is contained in:
committed by
Kristofer Koishigawa
parent
fa4117ae85
commit
0251f68aaf
@ -29,8 +29,8 @@ For this exercise, return a set with the following values: <code>1, 2, 3, 'Taco'
|
||||
|
||||
```yml
|
||||
tests:
|
||||
- text: Your <code>Set</code> should only contain the values <code>1, 2, 3, Taco, Cat, Awesome</code>.
|
||||
testString: assert((function(){var test = checkSet(); return (test.size == 6) && test.has(1) && test.has(2) && test.has(3) && test.has('Taco') && test.has('Cat') && test.has('Awesome');})(), 'Your <code>Set</code> should only contain the values <code>1, 2, 3, Taco, Cat, Awesome</code>.');
|
||||
- text: 'Your <code>Set</code> should only contain the values <code>1, 2, 3, Taco, Cat, Awesome</code>.'
|
||||
testString: 'assert((function(){var test = checkSet(); return (test.size == 6) && test.has(1) && test.has(2) && test.has(3) && test.has("Taco") && test.has("Cat") && test.has("Awesome");})(), "Your <code>Set</code> should only contain the values <code>1, 2, 3, Taco, Cat, Awesome</code>.");'
|
||||
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user