[FRAME] Test for sane genesis default (#3412)

Closes https://github.com/paritytech/polkadot-sdk/issues/2713

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
Oliver Tale-YazdiandAndré Silva authored and GitHub committed 2024-02-22 00:35:01 +00:00
1 parent cd91c6b782
commit e76b244853
16 files changed
+55 -79

No files matched your search

+1 -1
View File
@@ -780,7 +780,7 @@ macro_rules! assert_err_with_weight {
$crate::assert_err!($call.map(|_| ()).map_err(|e| e.error), $err);
assert_eq!(dispatch_err_with_post.post_info.actual_weight, $weight);
} else {
panic!("expected Err(_), got Ok(_).")
::core::panic!("expected Err(_), got Ok(_).")
}
};
}