aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-01-11 13:17:06 +0100
committerGustav Sörnäs <gustav@sornas.net>2021-01-11 13:17:06 +0100
commit5e117c505a8a371af600409b0f7d5f61b6969a85 (patch)
tree07a37136972b3f926152fef4a65b16ad5bafc081 /src
parente89a65fe2ea7911fa20502818e0af6d702d68be8 (diff)
downloadsylt-5e117c505a8a371af600409b0f7d5f61b6969a85.tar.gz
variable tests
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());
+ }
}