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
This commit is contained in:
committed by
mrugesh mohapatra
parent
8d57e1607f
commit
ed5e02d7ae
@ -1102,8 +1102,8 @@
|
|||||||
"testString": "assert(code.match(/\\.reduce/g), 'Your code should use the <code>reduce</code> method.');"
|
"testString": "assert(code.match(/\\.reduce/g), 'Your code should use the <code>reduce</code> method.');"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"text": "The <code>averageRating</code> should equal 8.675.",
|
"text": "The <code>averageRating</code> should equal 8.52.",
|
||||||
"testString": "assert(averageRating == 8.675, 'The <code>averageRating</code> should equal 8.675.');"
|
"testString": "assert(averageRating == 8.52, 'The <code>averageRating</code> should equal 8.52.');"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"text": "Your code should not use a <code>for</code> loop.",
|
"text": "Your code should not use a <code>for</code> loop.",
|
||||||
|
Reference in New Issue
Block a user