Skip to content

Commit

Permalink
Add test for Digest::clone
Browse files Browse the repository at this point in the history
Signed-off-by: Akhil Velagapudi <[email protected]>
  • Loading branch information
akhilles committed Apr 8, 2024
1 parent 0c81caa commit bb40d4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ mod test {
#[test]
fn test_clone() {
const CRC: Crc<u32> = Crc::<u32>::new(&CRC_32_ISCSI);
let _crc = CRC.clone();
let crc = CRC.clone();
let digest = crc.digest();
let _digest = digest.clone();
}
}

0 comments on commit bb40d4e

Please sign in to comment.