diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria.english.md index 9b94dc7f353..8bb687acdf1 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/functional-programming/use-the-every-method-to-check-that-every-element-in-an-array-meets-a-criteria.english.md @@ -32,11 +32,11 @@ tests: - text: Your code should use the every method. testString: assert(code.match(/\.every/g)); - text: checkPositive([1, 2, 3, -4, 5]) should return false. - testString: assert(!checkPositive([1, 2, 3, -4, 5])); + testString: assert.isFalse(checkPositive([1, 2, 3, -4, 5])); - text: checkPositive([1, 2, 3, 4, 5]) should return true. - testString: assert(checkPositive([1, 2, 3, 4, 5])); + testString: assert.isTrue(checkPositive([1, 2, 3, 4, 5])); - text: checkPositive([1, -2, 3, -4, 5]) should return false. - testString: assert(!checkPositive([1, -2, 3, -4, 5])); + testString: assert.isFalse(checkPositive([1, -2, 3, -4, 5])); ```