From 4838ac0297e23655dcf9fb25fc2551cb53ba4587 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Mon, 14 Nov 2022 16:17:07 +0000 Subject: [PATCH] Fix module error integration test --- testing/integration-tests/src/client/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/integration-tests/src/client/mod.rs b/testing/integration-tests/src/client/mod.rs index 92cdbf2a5c..77a5a5f5e2 100644 --- a/testing/integration-tests/src/client/mod.rs +++ b/testing/integration-tests/src/client/mod.rs @@ -203,7 +203,7 @@ async fn dry_run_fails() { if let Err(sp_runtime::DispatchError::Module(module_error)) = dry_run_res { assert_eq!(module_error.index, 6); - assert_eq!(module_error.error, 2); + assert_eq!(module_error.error, [2, 0, 0, 0]); } else { panic!("expected a module error when dryrunning"); }