fix(test): trim trailing carriage return unconditionally in test

contents
This commit is contained in:
WillLillis 2025-09-27 03:46:04 -04:00 committed by Will Lillis
parent d86e1b4f5e
commit 12a6400c63

View file

@ -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();
}