Skip to content

Commit

Permalink
Make test errors more observable
Browse files Browse the repository at this point in the history
  • Loading branch information
cyqsimon committed Dec 16, 2024
1 parent f91b47f commit 5d8480c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/os/lsof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,9 @@ com.apple 590 etoledom 204u IPv4 0x28ffb9c04111253f 0t0 TCP 192.168.1.

#[test]
fn test_multiline_parse() {
assert!(FULL_RAW_OUTPUT
.lines()
.map(Connection::from_str)
.all(|res| res.is_ok()));
for res in FULL_RAW_OUTPUT.lines().map(Connection::from_str) {
let _conn = res.unwrap();
}
}

#[rstest]
Expand Down

0 comments on commit 5d8480c

Please sign in to comment.