Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/compiler_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3386,6 +3386,12 @@ fn compile_named_pool_demands_fixture_for_target(target: Option<&str>) -> String
&[],
&["--skip-integrity"],
|contents| {
// Normalize CRLF → LF so the `target:` injection below matches
// regardless of how git checked the fixture out (on Windows,
// core.autocrlf rewrites the fixture with CRLF line endings,
// which would otherwise defeat the `\n`-anchored replacen and
// silently drop the target override).
let contents = contents.replace("\r\n", "\n");
if let Some(target) = target {
contents.replacen(
"description: \"Fixture that exercises named pool demands\"\n",
Expand Down
Loading