From 52794284771cd1119d4c942bb60b09b44c62a513 Mon Sep 17 00:00:00 2001 From: Thomas de Zeeuw Date: Sat, 25 May 2024 15:16:46 +0200 Subject: [PATCH] Fix windows cfg --- tests/unix_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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