fix(tests): Fix if (0) bug in piscine condition exercises

This commit is contained in:
Abdelilah 2023-10-18 21:01:10 +01:00 committed by Clément
parent 0d9b6958a0
commit 5f0efbfac6
1 changed files with 2 additions and 2 deletions

View File

@ -130,10 +130,10 @@ ${provided ? '// Provided setup' : ''}
${provided.trim()}
// Your code
${solution.code.trim()}
${solution.code.trim()};
// The tests
${tests.trim()}`.trim()
${tests.trim()};`.trim()
try {
eval(fullCode)