Commit cb898ce
committed
test(integrations): restore the kiro prompt as bytes in the upgrade test
test_upgrade_replaces_dotted_kiro_prompts restored the edited prompt
with write_text(), which writes CRLF on Windows. Integration files are
written as LF bytes, so the restored file no longer matched its
manifest hash and the second upgrade was still blocked as modified
(pytest on windows-latest). Read and write the prompt as bytes.
Refs #4797
Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)1 parent 86afed7 commit cb898ce
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
316 | 318 | | |
317 | | - | |
| 319 | + | |
318 | 320 | | |
319 | 321 | | |
320 | 322 | | |
321 | | - | |
| 323 | + | |
322 | 324 | | |
323 | | - | |
| 325 | + | |
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
| |||
0 commit comments