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