mirror of https://github.com/01-edu/public.git
fix(tests): Fix if (0) bug in piscine condition exercises
This commit is contained in:
parent
0d9b6958a0
commit
5f0efbfac6
|
@ -130,10 +130,10 @@ ${provided ? '// Provided setup' : ''}
|
||||||
${provided.trim()}
|
${provided.trim()}
|
||||||
|
|
||||||
// Your code
|
// Your code
|
||||||
${solution.code.trim()}
|
${solution.code.trim()};
|
||||||
|
|
||||||
// The tests
|
// The tests
|
||||||
${tests.trim()}`.trim()
|
${tests.trim()};`.trim()
|
||||||
|
|
||||||
try {
|
try {
|
||||||
eval(fullCode)
|
eval(fullCode)
|
||||||
|
|
Loading…
Reference in New Issue