diff --git a/tests/test_bin.rs b/tests/test_bin.rs index 8b2967f..5b125b8 100644 --- a/tests/test_bin.rs +++ b/tests/test_bin.rs @@ -4,6 +4,8 @@ use std::{ }; fn test_example(name: &str, input: &str, out: &str) { + #[cfg(target_os = "windows")] + let out = out.replace("\n", "\r\n"); let mut child = Command::new("cargo") .arg("run") .arg("--example")