mirror of
https://github.com/nushell/nushell.git
synced 2025-08-15 02:02:35 +02:00
Parsing tests
This commit is contained in:
@ -39,6 +39,7 @@ fn evaluate_leaf(leaf: &ast::Leaf) -> Value {
|
||||
Leaf::Bare(path) => Value::string(path.to_string()),
|
||||
Leaf::Boolean(b) => Value::boolean(*b),
|
||||
Leaf::Int(i) => Value::int(*i),
|
||||
Leaf::Unit(i, unit) => unit.compute(*i),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user