Allow string interpolation to work with no packages.

This commit is contained in:
Stephen Chung
2022-12-27 10:09:40 +08:00
parent 07f522e6d7
commit 7c00b74916
8 changed files with 93 additions and 75 deletions

View File

@@ -175,7 +175,7 @@ fn test_max_array_size() -> Result<(), Box<EvalAltResult>> {
assert_eq!(
engine.eval::<INT>(
"
let x = [1,2,3];
let x = [1,2];
len([x, x, x])
"
)?,