test indicating that 'if' is not working correctly

This commit is contained in:
Shautvast 2025-11-17 07:13:50 +01:00
parent 8c728f6acb
commit 0d8786ebff

View file

@ -342,8 +342,12 @@ a=2"#),
fn simple_if_expr() {
assert_eq!(
run(r#"
let a = 2
let b = 3
if true:
2
a
else:
b
"#),
Ok(Value::I64(2))
);