leo/asg/tests/fail/console/conditional_assert.leo
2021-01-25 07:19:38 -08:00

7 lines
127 B
Plaintext

function main(a: bool) {
if a {
console.assert(a == true);
} else {
console.assert(a == false);
}
}