Skip to content

Commit

Permalink
test modules do not need to be public unless someone is using them ex…
Browse files Browse the repository at this point in the history
…ternally
  • Loading branch information
xoloki committed Dec 2, 2024
1 parent 7418390 commit abbd3d0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ pub mod test_helpers {
}

#[cfg(test)]
pub mod test {
mod test {
use rand_core::OsRng;

use crate::{
Expand Down
2 changes: 1 addition & 1 deletion src/state_machine/coordinator/fire.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ impl<Aggregator: AggregatorTrait> CoordinatorTrait for Coordinator<Aggregator> {
}

#[cfg(test)]
pub mod test {
mod test {
use crate::{
curve::{point::Point, scalar::Scalar},
net::{
Expand Down
2 changes: 1 addition & 1 deletion src/state_machine/coordinator/frost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ impl<Aggregator: AggregatorTrait> CoordinatorTrait for Coordinator<Aggregator> {
}

#[cfg(test)]
pub mod test {
mod test {
use crate::{
curve::scalar::Scalar,
net::{DkgBegin, Message, NonceRequest, Packet, SignatureType},
Expand Down
2 changes: 1 addition & 1 deletion src/state_machine/signer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ impl<SignerType: SignerTrait> StateMachine<State, Error> for Signer<SignerType>
}

#[cfg(test)]
pub mod test {
mod test {
use hashbrown::HashMap;
use rand_core::OsRng;

Expand Down

0 comments on commit abbd3d0

Please sign in to comment.