Skip to content

Commit

Permalink
Fix tests on Windows.
Browse files Browse the repository at this point in the history
The previous commit a7e876d is not right.
  • Loading branch information
TheVeryDarkness committed Sep 4, 2024
1 parent a7e876d commit 13b5c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::{

fn test_example(name: &str, input: &str, out: &str) {
#[cfg(target_os = "windows")]
let out = out.replace("\n", "\r\n");
let out = out.replace("\r\n", "\n");
let mut child = Command::new("cargo")
.arg("run")
.arg("--example")
Expand Down

0 comments on commit 13b5c47

Please sign in to comment.