better if, fixes control tests

This commit is contained in:
Ava Hahn 2023-02-28 11:12:27 -08:00
parent 452cb7a654
commit 870b444505
Signed by untrusted user who does not match committer: affine
GPG key ID: 3A4645B8CF806069
2 changed files with 62 additions and 25 deletions

View file

@ -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 {