File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -594,16 +594,16 @@ mod test {
594
594
. personal ( b"bing" )
595
595
. fanout ( 2 )
596
596
. max_depth ( 3 )
597
- . max_leaf_length ( 4 )
598
- . node_offset ( 5 )
599
- . node_depth ( 6 )
600
- . inner_hash_length ( 7 )
597
+ . max_leaf_length ( 0x04050607 )
598
+ . node_offset ( 0x08090a0b0c0d0e0f )
599
+ . node_depth ( 16 )
600
+ . inner_hash_length ( 17 )
601
601
. last_node ( true )
602
602
. build ( )
603
603
. update ( b"foo" )
604
604
. finalize ( )
605
605
. hex ( ) ;
606
- assert_eq ! ( "8cf9408d6c57cb17802e24821631a881dc " , & * hash) ;
606
+ assert_eq ! ( "0dea28da297ebeb1abb7fdd4c573887349 " , & * hash) ;
607
607
}
608
608
609
609
#[ test]
@@ -615,16 +615,16 @@ mod test {
615
615
. personal ( b"bing" )
616
616
. fanout ( 2 )
617
617
. max_depth ( 3 )
618
- . max_leaf_length ( 4 )
619
- . node_offset ( 5 )
620
- . node_depth ( 6 )
621
- . inner_hash_length ( 7 )
618
+ . max_leaf_length ( 0x04050607 )
619
+ . node_offset ( 0x08090a0b0c0d )
620
+ . node_depth ( 16 )
621
+ . inner_hash_length ( 17 )
622
622
. last_node ( true )
623
623
. build ( )
624
624
. update ( b"foo" )
625
625
. finalize ( )
626
626
. hex ( ) ;
627
- assert_eq ! ( "a6a418a8c97d2c7801b3c8c86aa243aa75 " , & * hash) ;
627
+ assert_eq ! ( "179b9a70409efca3310998dd8aacc0a5dd " , & * hash) ;
628
628
}
629
629
630
630
#[ test]
You can’t perform that action at this time.
0 commit comments