This commit is contained in:
2020-04-09 16:07:30 +02:00
parent 0fdec430af
commit 1ece0e89ef
+2
View File
@@ -579,6 +579,8 @@ mod tests
assert_eq!(format_term("(a % b) % (c * d)"), "a % b % (c * d)");
assert_eq!(format_term("(a % b) % (c / d)"), "a % b % (c / d)");
assert_eq!(format_term("(a % b) % (c % d)"), "a % b % (c % d)");
// TODO: test malformed expressions
}
#[test]