test: normalize CRLF in the run_checks docstring pin (Windows CI)

This commit is contained in:
Dark-Alex-17 committed 2026-09-14 10:50:34 -06:00
1 parent 68e893d684
commit ad3a5c6d49
1 file changed
+5 -1
+5 -1
View File
@@ -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"