dust/tests/variables.rs
2024-03-06 19:45:41 -05:00

7 lines
135 B
Rust

use dust_lang::*;
#[test]
fn set_and_get_variable() {
assert_eq!(interpret("foobar = true; foobar"), Ok(Value::boolean(true)));
}