Skip to content

Commit

Permalink
testcase regex issue!
Browse files Browse the repository at this point in the history
Fixes #61
  • Loading branch information
m7medVision committed Feb 27, 2024
1 parent 318a61e commit 06e9437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcases/variables/uninitialized-variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (!regex.test(code)) {
isPass = false;
msg = "ما حد طلب منك تعريف أكثر من متغير غير مهيأة "
} else {
regex = /\w+\s+=\s+("|'|`)عربي("|'|`)/
regex = /\w+(\s+|)=(\s+|)("|'|`)عربي("|'|`)/
if (!regex.test(code)) {
isPass = false;
msg = "لم تقم بتغير قيمة المتغير غير المهيأة"
Expand Down

0 comments on commit 06e9437

Please sign in to comment.