Fix module error integration test

This commit is contained in:
Andrew Jones
2022-11-14 16:17:07 +00:00
parent 68ec1cc867
commit 4838ac0297
+1 -1
View File
@@ -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");
}