Skip to content

Commit ca4044b

Browse files
committed
fix test
1 parent 9cc9bbe commit ca4044b

File tree

1 file changed

+1
-6
lines changed
  • rust/rbac-registration/src/registration/cardano

1 file changed

+1
-6
lines changed

rust/rbac-registration/src/registration/cardano/mod.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -792,12 +792,7 @@ mod test {
792792

793793
let report = registration.report().to_owned();
794794
assert!(chain.update_stateless(&registration).is_none());
795-
let report = format!("{report:?}");
796-
assert!(
797-
report.contains("kind: InvalidValue { field: \"previous transaction ID\""),
798-
"{}",
799-
report
800-
);
795+
assert!(report.is_problematic(), "{:?}", report);
801796

802797
// Add the second registration.
803798
let data = test::block_6();

0 commit comments

Comments
 (0)