Skip to content

Commit

Permalink
fix some important std unit tests that were not running due to typo
Browse files Browse the repository at this point in the history
`#[cfg(features = "std")]` is invalid and always disabled the whole block.
  • Loading branch information
benma authored and stevenroose committed Jan 29, 2024
1 parent a7649ae commit c02046c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ mod tests {
mnemonic_str
);

#[cfg(features = "std")]
#[cfg(feature = "std")]
{
assert_eq!(&mnemonic.to_string(), mnemonic_str, "failed vector: {}", mnemonic_str);
assert_eq!(
Expand Down

0 comments on commit c02046c

Please sign in to comment.