Compare commits

...

2 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] da9911051e fix: use 0-based byte offset in ps1 encoding test failure message 2026-05-26 18:26:25 +00:00
copilot-swe-agent[bot] 07cde6764a Initial plan 2026-05-26 18:25:12 +00:00
+1 -1
View File
@@ -36,7 +36,7 @@ def test_ps1_file_is_ascii_only(ps1_file: Path):
"""Every .ps1 file must contain only ASCII characters (PS 5.1 compat)."""
content = ps1_file.read_bytes()
non_ascii = [
(i + 1, byte)
(i, byte)
for i, byte in enumerate(content)
if byte > 127
]