Skip to content

Commit

Permalink
Fix windows cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomasdezeeuw committed May 26, 2024
1 parent d476606 commit 5279428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unix_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ fn unix_stream_shutdown_both() {
let err = stream.write(DATA2).unwrap_err();
#[cfg(unix)]
assert_eq!(err.kind(), io::ErrorKind::BrokenPipe);
#[cfg(window)]
#[cfg(windows)]
assert_eq!(err.kind(), io::ErrorKind::ConnectionAbroted);

// Close the connection to allow the remote to shutdown
Expand Down

0 comments on commit 5279428

Please sign in to comment.