fix: update tests for create and add to sets challenge (#18838)

This commit is contained in:
Carol W
2018-11-07 23:13:58 +11:00
committed by Kristofer Koishigawa
parent fa4117ae85
commit 0251f68aaf
6 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@ localeTitle: Crear y agregar a conjuntos en ES6
```yml
tests:
- text: 'Su <code>Set</code> solo debe contener los valores <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>.");'
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>.");'
```