diff --git a/src/protocol/tests/eval_calls.rs b/src/protocol/tests/eval_calls.rs index c5ee0ea3f76e521b80950084514a5c802b7ba42f..5a261115429234916d32645a65ec6986d80741c8 100644 --- a/src/protocol/tests/eval_calls.rs +++ b/src/protocol/tests/eval_calls.rs @@ -10,7 +10,7 @@ fn test_function_call() { return add_two(5); } ").for_function("foo", |f| { - f.call(Some(Value::UInt32(7))); + f.call_ok(Some(Value::UInt32(7))); }); println!("\n\n\n\n\n\n\n"); @@ -25,6 +25,6 @@ fn test_function_call() { auto result = add_two(initial); return initial == 5 && result == 7; }").for_function("foo", |f| { - f.call(Some(Value::Bool(true))); + f.call_ok(Some(Value::Bool(true))); }); } \ No newline at end of file