Skip to content

Commit

Permalink
Fix test_alphanumeric
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed May 8, 2024
1 parent 9748e90 commit 161134a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/distributions/other.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ mod tests {
let mut incorrect = false;
for _ in 0..100 {
let c: char = rng.sample(Alphanumeric).into();
incorrect |= c.is_ascii_alphanumeric();
incorrect |= !c.is_ascii_alphanumeric();
}
assert!(!incorrect);
}
Expand Down

0 comments on commit 161134a

Please sign in to comment.