Fix test_mismatched_op.

This commit is contained in:
Stephen Chung 2020-02-23 23:41:14 +08:00
parent 157aa2be94
commit 896579869c

View File

@ -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()
))
);
}