Change eval<()> to run.

This commit is contained in:
Stephen Chung
2022-01-10 13:26:33 +08:00
parent 1e0d46fc13
commit d15470fd4b
8 changed files with 18 additions and 20 deletions

View File

@@ -36,7 +36,7 @@ fn test_map_indexing() -> Result<(), Box<EvalAltResult>> {
5
);
engine.eval::<()>("let y = #{a: 1, b: 2, c: 3}; y.z")?;
engine.run("let y = #{a: 1, b: 2, c: 3}; y.z")?;
#[cfg(not(feature = "no_index"))]
assert_eq!(