Fix test_mismatched_op.
This commit is contained in:
parent
157aa2be94
commit
896579869c
@ -6,8 +6,8 @@ fn test_mismatched_op() {
|
||||
|
||||
assert_eq!(
|
||||
engine.eval::<i64>("60 + \"hello\""),
|
||||
Err(EvalAltResult::ErrorFunctionNotFound(
|
||||
"+ (i64,alloc::string::String)".into()
|
||||
Err(EvalAltResult::ErrorMismatchOutputType(
|
||||
"alloc::string::String".into()
|
||||
))
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user