From a62c7cd19004f0ea70ba362e124390ad0027a41a Mon Sep 17 00:00:00 2001 From: Mani Chandra Teja Gaddam Date: Fri, 31 Mar 2023 05:14:36 -0400 Subject: [PATCH] fix(curriculum): check for assignment operator (#49904) fix(curriculum): updated third test to check for assignment operator --- .../divide-one-decimal-by-another-with-javascript.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript.md index c3ee7fda9df..90732f0bd7d 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/divide-one-decimal-by-another-with-javascript.md @@ -32,7 +32,7 @@ assert(/4\.40*\s*\/\s*2\.*0*/.test(code)); The quotient variable should only be assigned once ```js -assert(code.match(/quotient/g).length === 1); +assert(code.match(/quotient\s*=/g).length === 1); ``` # --seed--