Skip to content

Commit e62e2f1

Browse files
committed
fix formatting
1 parent 40baea5 commit e62e2f1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/raw_iter.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)