better if, fixes control tests
This commit is contained in:
parent
452cb7a654
commit
870b444505
2 changed files with 62 additions and 25 deletions
|
|
@ -35,6 +35,7 @@ mod control_lib_tests {
|
|||
if let Ctr::Integer(i) = *eval(&tree, &mut syms).unwrap() {
|
||||
assert_eq!(i, result);
|
||||
} else {
|
||||
eprintln!("{}", *eval(&tree, &mut syms).unwrap());
|
||||
assert!(false);
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue