Commit 4a84d8a
test: preserve YAML fixture newlines
Two CLI builder-response tests wrote YAML fixtures with Path.write_text(), which on Windows translates newlines and changes the asserted payload. This writes the exact fixture bytes so the tests are stable across platforms; production behavior is unchanged and the endpoint still preserves file bytes.
Co-authored-by: George Weale <gweale@google.com>
PiperOrigin-RevId: 9491846811 parent 4e16855 commit 4a84d8a
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2605 | 2605 | | |
2606 | 2606 | | |
2607 | 2607 | | |
2608 | | - | |
| 2608 | + | |
2609 | 2609 | | |
2610 | 2610 | | |
2611 | | - | |
| 2611 | + | |
2612 | 2612 | | |
2613 | 2613 | | |
2614 | 2614 | | |
| |||
2766 | 2766 | | |
2767 | 2767 | | |
2768 | 2768 | | |
2769 | | - | |
2770 | | - | |
| 2769 | + | |
| 2770 | + | |
2771 | 2771 | | |
2772 | 2772 | | |
2773 | 2773 | | |
| |||
0 commit comments