diff --git a/src/config/request_context.rs b/src/config/request_context.rs index 517ea3c..ef594d5 100644 --- a/src/config/request_context.rs +++ b/src/config/request_context.rs @@ -8315,7 +8315,11 @@ mod tests { "review-gauntlet README must not describe the retired raw-🔴 gate" ); - let runner = read_to_string(readmes.join("adversary/scripts/run_checks.py")).unwrap(); + // Normalize line endings: the assertion below spans a line break and + // Windows checkouts carry CRLF. + let runner = read_to_string(readmes.join("adversary/scripts/run_checks.py")) + .unwrap() + .replace("\r\n", "\n"); assert!( runner.contains("Trust boundary:") && runner.contains("never a field an LLM"), "run_checks.py docstring must state the declared-variable trust boundary"