better not-found error messages for variables and functions
This commit is contained in:
@@ -8,6 +8,6 @@ fn test_mismatched_op() {
|
||||
|
||||
assert_eq!(
|
||||
engine.eval::<i64>("60 + \"hello\""),
|
||||
Err(EvalAltResult::ErrorFunctionNotFound)
|
||||
Err(EvalAltResult::ErrorFunctionNotFound("+ (integer,string)".into()))
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user