Skip to content

Commit 673b4aa

Browse files
Stebalienrvagg
andauthored
Apply suggestions from code review
Co-authored-by: Rod Vagg <[email protected]>
1 parent c8334a2 commit 673b4aa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ipld/hamt/tests/hamt_tests.rs

+1
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ fn test_n_keys(factory: HamtFactory) {
166166
} else if j == (2 * i) / 3 {
167167
// Flush and reload.
168168
let new_root = hamt.flush().unwrap();
169+
hamt.set(key(0), "yolo".to_string()).unwrap();
169170
hamt.set_root(&new_root).unwrap();
170171
}
171172
}

ipld/kamt/tests/kamt_tests.rs

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ fn test_n_keys(factory: KamtFactory) {
8787
} else if j == (2 * i) / 3 {
8888
// Flush and reload.
8989
let new_root = kamt.flush().unwrap();
90+
kamt.set(0, "yolo".to_string()).unwrap();
9091
kamt.set_root(&new_root).unwrap();
9192
}
9293
}

0 commit comments

Comments
 (0)