Make the port's source-scanning test line-ending neutral
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
0cbbf77284
commit
3514d76667
1 changed files with 3 additions and 1 deletions
|
|
@ -1817,7 +1817,9 @@ mod tests {
|
|||
"world/controllers.rs",
|
||||
"runtime.rs",
|
||||
] {
|
||||
let text = std::fs::read_to_string(root.join(file)).expect("the source reads");
|
||||
let text = std::fs::read_to_string(root.join(file))
|
||||
.expect("the source reads")
|
||||
.replace("\r\n", "\n");
|
||||
// Only the production half; a test may name what production must
|
||||
// not.
|
||||
let production = text
|
||||
|
|
|
|||
Loading…
Reference in a new issue