fix(curriculum): check for assignment operator (#49904)

fix(curriculum): updated third test to check for assignment operator
This commit is contained in:
Mani Chandra Teja Gaddam
2023-03-31 05:14:36 -04:00
committed by GitHub
parent 26d10b455d
commit a62c7cd190

View File

@@ -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--