Skip to content

Commit fd745b4

Browse files
committed
GH-15 # Ignore coverage of PseudoRng
1 parent b316c29 commit fd745b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,6 +760,7 @@ impl JarmRng for TestRng { // Mocked Rng used in tests
760760
}
761761
}
762762

763+
#[cfg(not(tarpaulin_include))] // disable coverage
763764
impl JarmRng for PseudoRng { // Real Rng used outside of tests
764765
fn random_bytes(&self) -> Vec<u8> {
765766
let mut rng = rand::rng();

0 commit comments

Comments
 (0)