From 5d16e8a39d51ed1c0fffe69c10d46ded70f6077b Mon Sep 17 00:00:00 2001 From: Filippo Costa Date: Mon, 29 Nov 2021 11:37:22 +0100 Subject: [PATCH] Fix test --- crates/runtime/tests/runtime_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/runtime/tests/runtime_tests.rs b/crates/runtime/tests/runtime_tests.rs index f210f9d3d..7d061f96b 100644 --- a/crates/runtime/tests/runtime_tests.rs +++ b/crates/runtime/tests/runtime_tests.rs @@ -228,7 +228,7 @@ fn memory_runtime_spawn_invoking_non_ctor_fails() { assert!(matches!( receipt.error.unwrap(), - RuntimeError::FuncNotAllowed { .. } + RuntimeError::FuncNotFound { .. } )); }