From 78c00bde3d7955d0461cf091f3a40154e7ee65f1 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Mon, 1 May 2023 03:18:11 -0400 Subject: [PATCH] Correct error message in ff-group-tests --- crypto/ff-group-tests/src/group.rs | 2 +- tests/no-std/src/lib.rs | 28 ++++++++++++---------------- 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/crypto/ff-group-tests/src/group.rs b/crypto/ff-group-tests/src/group.rs index 50fc6ee6..b3f7a155 100644 --- a/crypto/ff-group-tests/src/group.rs +++ b/crypto/ff-group-tests/src/group.rs @@ -33,7 +33,7 @@ pub fn test_generator() { assert!(G::generator() != G::identity(), "generator was identity"); assert!( (G::generator() + G::generator()) != G::generator(), - "generator added to itself identity" + "generator added to itself was identity" ); } diff --git a/tests/no-std/src/lib.rs b/tests/no-std/src/lib.rs index 6ff3e594..71d0b185 100644 --- a/tests/no-std/src/lib.rs +++ b/tests/no-std/src/lib.rs @@ -1,26 +1,22 @@ #![no_std] -pub use flexible_transcript::*; +pub use flexible_transcript; -pub mod dalek { - pub use dalek_ff_group::*; -} -pub mod ed448 { - pub use minimal_ed448::*; -} +pub use dalek_ff_group; +pub use minimal_ed448; -pub use ciphersuite::*; +pub use ciphersuite; -pub use multiexp::*; +pub use multiexp; -// pub use dleq::*; -pub use schnorr_signatures::*; +// pub use dleq; +pub use schnorr_signatures; /* -pub use dkg::*; -pub use modular_frost::*; -pub use frost_schnorrkel::*; +pub use dkg; +pub use modular_frost; +pub use frost_schnorrkel; */ -pub use monero_generators::*; -// pub use monero_serai::*; +pub use monero_generators; +// pub use monero_serai;