File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1296,7 +1296,7 @@ mod tests {
1296
1296
if let Some ( expectation) = self . expectations . pop_front ( ) {
1297
1297
match expectation {
1298
1298
PaymentPath :: Failure { path, short_channel_id } => {
1299
- assert_eq ! ( actual_path, path. iter( ) . collect:: <Vec <_>>( ) ) ;
1299
+ assert_eq ! ( actual_path, & path. iter( ) . collect:: <Vec <_>>( ) [ .. ] ) ;
1300
1300
assert_eq ! ( actual_short_channel_id, short_channel_id) ;
1301
1301
} ,
1302
1302
PaymentPath :: Success { path } => {
@@ -1313,7 +1313,7 @@ mod tests {
1313
1313
panic ! ( "Unexpected payment path failure: {:?}" , path)
1314
1314
} ,
1315
1315
PaymentPath :: Success { path } => {
1316
- assert_eq ! ( actual_path, path. iter( ) . collect:: <Vec <_>>( ) ) ;
1316
+ assert_eq ! ( actual_path, & path. iter( ) . collect:: <Vec <_>>( ) [ .. ] ) ;
1317
1317
} ,
1318
1318
}
1319
1319
}
You can’t perform that action at this time.
0 commit comments