Fixed a challenge test

This commit is contained in:
benmcmahon100
2015-08-16 18:26:11 +01:00
parent 63be84f47f
commit 33d0faae24

View File

@ -235,7 +235,7 @@
"tests":[
"assert.deepEqual(array, [1,2,3,4,5], 'You should have removed all the values from the array that are less than six');",
"assert(editor.getValue().match(/array\\.filter\\(/gi), 'You should be using the filter method to remove the values from the array');",
"assert(editor.getValue().match(/\\[1\\,2\\,3\\,4\\,5\\,6\\,7\\,8\\,9\\,10\\]/gi), 'You should only be using .filter to modify the contents of the array);"
"assert(editor.getValue().match(/\\[1\\,2\\,3\\,4\\,5\\,6\\,7\\,8\\,9\\,10\\]/gi), 'You should only be using .filter to modify the contents of the array');"
],
"challengeSeed":[
"var array = [1,2,3,4,5,6,7,8,9,10];",