Fix Waypoint Filter Arrays Test

Test now consistant with instructions
Closes #3671
This commit is contained in:
Logan Tegman
2015-10-09 11:54:56 -07:00
parent b74b7955eb
commit f44b5a3204

View File

@ -240,7 +240,7 @@
"<code>});</code>"
],
"tests":[
"assert.deepEqual(array, [1,2,3,4], 'message: You should have removed all the values from the array that are greater than 4.');",
"assert.deepEqual(array, [1,2,3,4,5], 'message: You should have removed all the values from the array that are greater than 5.');",
"assert(editor.getValue().match(/array\\.filter\\s*\\(/gi), 'message: 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), 'message: You should only be using <code>.filter</code> to modify the contents of the array.');"
],