fix(test): trim trailing carriage return unconditionally in test
contents
This commit is contained in:
parent
d86e1b4f5e
commit
12a6400c63
1 changed files with 0 additions and 1 deletions
|
|
@ -1027,7 +1027,6 @@ fn parse_test_content(name: String, content: &str, file_path: Option<PathBuf>) -
|
|||
|
||||
// Remove trailing newline from the input.
|
||||
input.pop();
|
||||
#[cfg(target_os = "windows")]
|
||||
if input.last() == Some(&b'\r') {
|
||||
input.pop();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue