mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 14:28:37 +00:00
Fix tree hash bug
This commit is contained in:
@@ -163,7 +163,7 @@ fn test_vec() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_nested_list() {
|
||||
fn test_nested_list_of_u64() {
|
||||
let original: Vec<Vec<u64>> = vec![vec![1]];
|
||||
|
||||
let modified = vec![
|
||||
@@ -175,6 +175,8 @@ fn test_nested_list() {
|
||||
vec![],
|
||||
vec![vec![1, 2], vec![3], vec![4, 5, 6, 7, 8]],
|
||||
vec![],
|
||||
vec![vec![1], vec![2], vec![3]],
|
||||
vec![vec![1, 2, 3, 4, 5, 6], vec![1, 2, 3, 4, 5, 6, 7]],
|
||||
];
|
||||
|
||||
test_routine(original, modified);
|
||||
|
||||
Reference in New Issue
Block a user