Commit f2ff9ba
Normalize line endings in RewindingTestsHelper.buildAndGetOutput
Genrule output files may contain mixed line endings: source files
written by testCase.write() use System.lineSeparator(), but echo in
the genrule command always produces \n. On platforms where the system
line separator is \r\n, this causes buildAndGetOutput assertions to
fail with "line contents match, but line-break characters differ".
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f2d1481 commit f2ff9ba
File tree
1 file changed
+3
-1
lines changed- src/test/java/com/google/devtools/build/lib/skyframe/rewinding
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
| |||
0 commit comments