File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ fn test_raw_record_iterator_parse_error_skips_when_no_core_dump() {
7676 let mut iter = parser. into_raw_record_iter ( ) ;
7777
7878 // Iterator should skip the invalid header and yield the valid record
79- let rec = iter. next ( ) . expect ( "should yield valid record after skipping parse error" ) ;
79+ let rec = iter
80+ . next ( )
81+ . expect ( "should yield valid record after skipping parse error" ) ;
8082 assert_eq ! ( rec. common_header. entry_type, EntryType :: BGP4MP ) ;
8183 assert_eq ! ( rec. raw_bytes. len( ) , 0 ) ;
8284 assert ! ( iter. next( ) . is_none( ) ) ;
@@ -116,4 +118,4 @@ fn test_raw_record_iterator_io_error_stops_iteration() {
116118
117119 // On IoError branch, iterator stops and returns None immediately
118120 assert ! ( iter. next( ) . is_none( ) ) ;
119- }
121+ }
You can’t perform that action at this time.
0 commit comments