Skip to content

Commit 28b4db2

Browse files
committed
remove test that compared guts hash_subtree with our own recursive_hash_subtree
The bug is gone now, and since this is now an official feature of blake3 we rely on their tests
1 parent 1ebf258 commit 28b4db2

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/tests.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -349,18 +349,6 @@ fn outboard_wrong_hash() {
349349
assert_eq!(expected, actual);
350350
}
351351

352-
// #[test]
353-
// #[ignore]
354-
// fn wrong_hash_small() {
355-
// let start_chunk = 3;
356-
// let len = 2049;
357-
// let is_root = false;
358-
// let data = make_test_data(len);
359-
// let expected = recursive_hash_subtree(start_chunk, &data, is_root);
360-
// let actual = blake3::hazmat::hash_subtree(start_chunk, &data, is_root);
361-
// assert_eq!(expected, actual);
362-
// }
363-
364352
// create the mapping from a node number to the offset in the pre order traversal,
365353
// using brute force lookup in the bao output
366354
fn create_permutation_reference(size: usize) -> Vec<(TreeNode, usize)> {

0 commit comments

Comments
 (0)