This repository was archived by the owner on Nov 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -94,14 +94,14 @@ mod tests {
94
94
use Hash ;
95
95
use HashEngine ;
96
96
97
- #[ derive( Clone ) ]
97
+ #[ derive( Clone ) ]
98
98
struct Test {
99
- input : & ' static str ,
100
- output : Vec < u8 > ,
101
- output_str : & ' static str ,
99
+ input : & ' static str ,
100
+ output : Vec < u8 > ,
101
+ output_str : & ' static str ,
102
102
}
103
103
104
- #[ test]
104
+ #[ test]
105
105
fn test ( ) {
106
106
let tests = vec ! [
107
107
// Test vector copied out of rust-bitcoin
Original file line number Diff line number Diff line change @@ -262,13 +262,13 @@ mod tests {
262
262
263
263
#[ test]
264
264
fn test_sha256t ( ) {
265
- assert_eq ! (
266
- TestHash :: hash( & [ 0 ] ) . to_hex( ) ,
267
- "29589d5122ec666ab5b4695070b6debc63881a4f85d88d93ddc90078038213ed"
268
- ) ;
269
- assert_eq ! (
270
- NewTypeHash :: hash( & [ 0 ] ) . to_hex( ) ,
271
- "29589d5122ec666ab5b4695070b6debc63881a4f85d88d93ddc90078038213ed"
272
- ) ;
265
+ assert_eq ! (
266
+ TestHash :: hash( & [ 0 ] ) . to_hex( ) ,
267
+ "29589d5122ec666ab5b4695070b6debc63881a4f85d88d93ddc90078038213ed"
268
+ ) ;
269
+ assert_eq ! (
270
+ NewTypeHash :: hash( & [ 0 ] ) . to_hex( ) ,
271
+ "29589d5122ec666ab5b4695070b6debc63881a4f85d88d93ddc90078038213ed"
272
+ ) ;
273
273
}
274
274
}
You can’t perform that action at this time.
0 commit comments