From 1ce1c75c4daf1bb33534ddf2ec153b339dce6e2e Mon Sep 17 00:00:00 2001 From: benmcmahon100 Date: Mon, 17 Aug 2015 14:11:49 +0100 Subject: [PATCH] Fix #1835 --- .../object-oriented-and-functional-programming.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seed/challenges/object-oriented-and-functional-programming.json b/seed/challenges/object-oriented-and-functional-programming.json index 5a4587dca59..307563795be 100644 --- a/seed/challenges/object-oriented-and-functional-programming.json +++ b/seed/challenges/object-oriented-and-functional-programming.json @@ -233,13 +233,13 @@ "difficulty":0, "description":[ "filter is a useful method that can filter out values that don't match a certain criteria", - "Let's remove all the values greater than six", + "Let's remove all the values greater than five", "array = array.filter(function(val) {", "  return(val<4);", "});" ], "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.deepEqual(array, [1,2,3,4,5], 'You should have removed all the values from the array that are greater than five');", "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');" ],