diff --git a/src/hash.rs b/src/hash.rs index 224bc3699..5c659184c 100644 --- a/src/hash.rs +++ b/src/hash.rs @@ -58,7 +58,7 @@ impl_hash!(Hash2048, 256); impl_hash!(Hash4096, 512); #[test] -fn it_works() { +fn hash() { let h = Hash64([0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef]); assert_eq!(Hash64::from_str("0123456789abcdef").unwrap(), h); assert_eq!(format!("{}", h), "0123456789abcdef");