File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -32,13 +32,19 @@ mod tests {
32
32
#[ test]
33
33
fn hex_to_work_odd_length_str ( ) {
34
34
let hex = String :: from_utf8 ( vec ! [ b'0' ; 65 ] ) . unwrap ( ) ;
35
- assert_eq ! ( hex_to_work( & hex) , Err ( HexToArrayError :: Conversion ( HexToBytesError :: OddLengthString ( 65 ) ) ) ) ;
35
+ assert_eq ! (
36
+ hex_to_work( & hex) ,
37
+ Err ( HexToArrayError :: Conversion ( HexToBytesError :: OddLengthString ( 65 ) ) )
38
+ ) ;
36
39
}
37
40
38
41
#[ test]
39
42
fn hex_to_work_invalid_char ( ) {
40
43
let hex = String :: from_utf8 ( vec ! [ b'G' ; 64 ] ) . unwrap ( ) ;
41
- assert_eq ! ( hex_to_work( & hex) , Err ( HexToArrayError :: Conversion ( HexToBytesError :: InvalidChar ( b'G' ) ) ) ) ;
44
+ assert_eq ! (
45
+ hex_to_work( & hex) ,
46
+ Err ( HexToArrayError :: Conversion ( HexToBytesError :: InvalidChar ( b'G' ) ) )
47
+ ) ;
42
48
}
43
49
44
50
#[ test]
Original file line number Diff line number Diff line change 1
1
./lightning-background-processor/src/lib.rs
2
2
./lightning-block-sync/src/lib.rs
3
- ./lightning-block-sync/src/utils.rs
4
3
./lightning-custom-message/src/lib.rs
5
4
./lightning-invoice/fuzz/fuzz_targets/serde_data_part.rs
6
5
./lightning-invoice/src/de.rs
You can’t perform that action at this time.
0 commit comments