test indicating that 'if' is not working correctly
This commit is contained in:
parent
8c728f6acb
commit
0d8786ebff
1 changed files with 5 additions and 1 deletions
|
|
@ -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))
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue