Skip to content

Commit a0bf400

Browse files
committed
fix
1 parent a9c0a0d commit a0bf400

File tree

1 file changed

+3
-3
lines changed
  • rust/catalyst-types/src/catalyst_id

1 file changed

+3
-3
lines changed

rust/catalyst-types/src/catalyst_id/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ mod tests {
859859
idx_b: usize,
860860
expected_eq: bool,
861861
expected_userinfo: bool,
862-
expected_rolekey: bool,
862+
expected_role: bool,
863863
) {
864864
let id_a = CATALYST_ID_TEST_VECTOR[idx_a]
865865
.parse::<CatalystId>()
@@ -875,8 +875,8 @@ mod tests {
875875
"eq_with_userinfo failed"
876876
);
877877
assert_eq!(
878-
id_a.eq_with_rolekey(&id_b),
879-
expected_rolekey,
878+
id_a.eq_with_role(&id_b),
879+
expected_role,
880880
"eq_with_rolekey failed"
881881
);
882882
}

0 commit comments

Comments
 (0)