From 3514d7666729ed0dd8ff3f38dac0f27b13b4a073 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 6 Sep 2026 02:15:31 +0200 Subject: [PATCH] Make the port's source-scanning test line-ending neutral Co-Authored-By: Claude Fable 5.1 --- crates/ghostlight-dungeon/src/world/sdk_inference.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/ghostlight-dungeon/src/world/sdk_inference.rs b/crates/ghostlight-dungeon/src/world/sdk_inference.rs index 99a3e80..a46a25f 100644 --- a/crates/ghostlight-dungeon/src/world/sdk_inference.rs +++ b/crates/ghostlight-dungeon/src/world/sdk_inference.rs @@ -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