1
0
dust/tests/variables.rs

10 lines
156 B
Rust
Raw Normal View History

2024-03-06 23:15:25 +00:00
use dust_lang::*;
#[test]
fn set_and_get_variable() {
assert_eq!(
interpret("foobar = true foobar"),
Ok(Value::boolean(true))
);
}