diff --git a/tests/unix_stream.rs b/tests/unix_stream.rs index 9098b7d17..87cfbd111 100644 --- a/tests/unix_stream.rs +++ b/tests/unix_stream.rs @@ -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