Skip to content

Commit 2ca1e9a

Browse files
committed
mock voting group assigner in test api
1 parent 4913fd8 commit 2ca1e9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

catalyst-toolbox/src/snapshot/voting_group.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl VotingGroupAssigner for RepsVotersAssigner {
7171
}
7272
}
7373

74-
#[cfg(test)]
74+
#[cfg(any(test, feature = "test-api"))]
7575
impl<F> VotingGroupAssigner for F
7676
where
7777
F: Fn(&Identifier) -> VotingGroup,

0 commit comments

Comments
 (0)