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