leo/tests/pass/parse/console/conditional_assert.leo
2021-03-03 09:59:24 -08:00

7 lines
127 B
Plaintext

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