Skip to content

Commit

Permalink
Merge pull request #31 from TeaByte/majhcc/issue29
Browse files Browse the repository at this point in the history
Problem with print testing
  • Loading branch information
m7medVision authored Jan 25, 2024
2 parents fad7a26 + 9cc1e14 commit 5afc32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcases/variables/console.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// check if there are any console.log() statements
const regex = /console\.log\(\s*\".*\"\s*\)/;
const regex = /console\.log\(.*\)/;
if (!regex.test(code)) {
isPass = false;
msg = "لم يتم استخدام الأمر console.log() لطباعة النص المطلوب";
Expand Down

0 comments on commit 5afc32b

Please sign in to comment.