From 896579869c714bdca51538237897f126817104fe Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sun, 23 Feb 2020 23:41:14 +0800 Subject: [PATCH] Fix test_mismatched_op. --- tests/mismatched_op.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/mismatched_op.rs b/tests/mismatched_op.rs index 2d6ff5fa..d0ea1826 100644 --- a/tests/mismatched_op.rs +++ b/tests/mismatched_op.rs @@ -6,8 +6,8 @@ fn test_mismatched_op() { assert_eq!( engine.eval::("60 + \"hello\""), - Err(EvalAltResult::ErrorFunctionNotFound( - "+ (i64,alloc::string::String)".into() + Err(EvalAltResult::ErrorMismatchOutputType( + "alloc::string::String".into() )) ); }