We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc9bbe commit ca4044bCopy full SHA for ca4044b
rust/rbac-registration/src/registration/cardano/mod.rs
@@ -792,12 +792,7 @@ mod test {
792
793
let report = registration.report().to_owned();
794
assert!(chain.update_stateless(®istration).is_none());
795
- let report = format!("{report:?}");
796
- assert!(
797
- report.contains("kind: InvalidValue { field: \"previous transaction ID\""),
798
- "{}",
799
- report
800
- );
+ assert!(report.is_problematic(), "{:?}", report);
801
802
// Add the second registration.
803
let data = test::block_6();
0 commit comments