From fa08e372c6444ef6070777c952c7527fb92e3cbb Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Wed, 13 Jun 2018 14:15:24 +1200 Subject: [PATCH] test(challenges): Corrected expected average value (#17562) Modified 8.675 to 8.52 in three places for correct average value BREAKING CHANGE: n/a Closes #17561 --- .../functional-programming.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json b/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json index 6a9a67e226..d2e8a0d61e 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/functional-programming.json @@ -1102,8 +1102,8 @@ "testString": "assert(code.match(/\\.reduce/g), 'Your code should use the reduce method.');" }, { - "text": "The averageRating should equal 8.675.", - "testString": "assert(averageRating == 8.675, 'The averageRating should equal 8.675.');" + "text": "The averageRating should equal 8.52.", + "testString": "assert(averageRating == 8.52, 'The averageRating should equal 8.52.');" }, { "text": "Your code should not use a for loop.", @@ -1698,4 +1698,4 @@ } } ] -} \ No newline at end of file +}