aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 53e2e08..c60dea1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -40,4 +40,10 @@ mod tests {
let file = Path::new("tests/order-of-operations.tdy");
assert!(run_file(&file).is_ok());
}
+
+ #[test]
+ fn variables() {
+ let file = Path::new("tests/variables.tdy");
+ assert!(run_file(&file).is_ok());
+ }
}