use hex instead of u8s in test
This commit is contained in:
parent
8daa6bdc27
commit
acc3ab2186
1 changed files with 2 additions and 2 deletions
4
src/cache/disk.rs
vendored
4
src/cache/disk.rs
vendored
|
@ -377,8 +377,8 @@ mod md5_hash {
|
|||
fn to_cache_path() {
|
||||
let hash = Md5Hash(
|
||||
*GenericArray::<_, <Md5 as md5::Digest>::OutputSize>::from_slice(&[
|
||||
// 0xab 0xcd 0xef five times, followed by an 0xab
|
||||
171, 205, 239, 171, 205, 239, 171, 205, 239, 171, 205, 239, 171, 205, 239, 171,
|
||||
0xab, 0xcd, 0xef, 0xab, 0xcd, 0xef, 0xab, 0xcd, 0xef, 0xab, 0xcd, 0xef, 0xab, 0xcd,
|
||||
0xef, 0xab,
|
||||
]),
|
||||
);
|
||||
assert_eq!(
|
||||
|
|
Loading…
Reference in a new issue