From 99f4919feaed81992741fa09d83927c26647ad3c Mon Sep 17 00:00:00 2001 From: Mark Date: Mon, 31 Jul 2023 15:52:52 -0700 Subject: [PATCH] Added tests --- src/tests.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests.rs b/src/tests.rs index 19e94f9..9f6703d 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -94,6 +94,9 @@ fn bad_expressions() { bad_expr("3 - "); bad_expr("()"); bad_expr("3+2)"); + bad_expr("-"); + bad_expr("*"); + bad_expr("+"); } #[test]