Skip to content

Commit e768d28

Browse files
committed
Remove expected panic message from from_invalid_raw_fd_should_panic
It changed between 1.70 and current stable. Checking if the function panics should be good enough.
1 parent 3e24259 commit e768d28

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/socket.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ fn protocol_fmt_debug() {
140140
}
141141

142142
#[test]
143-
#[should_panic = "fd != -1"]
144143
#[cfg(unix)]
145144
fn from_invalid_raw_fd_should_panic() {
146145
use std::os::unix::io::FromRawFd;

0 commit comments

Comments
 (0)