further refactoring

This commit is contained in:
Simon Gardling
2022-05-16 17:20:08 -04:00
parent 62944783ca
commit 6d06c25fac
5 changed files with 10 additions and 27 deletions

View File

@@ -106,6 +106,5 @@ fn hashed_storage() {
);
let read = hashed_storage_read(storage);
assert_eq!(read.0.to_vec(), commit);
assert_eq!(read.1, data);
assert_eq!(read.map(|(a, b)| (a.to_vec(), b)), Some((commit, data)));
}