Skip to content

Commit 2c028ea

Browse files
MagicalTuxclaude
andcommitted
Revert truncatedDiff limit back to 80 lines
The debug increase to 300 lines confirmed that the DatePeriod serialize test failures are due to content mismatches beyond line 80, not EXPECTF regex issues. Reverting to keep CI output manageable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 30ebbd8 commit 2c028ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

php_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (lb *limitedBuffer) String() string { return lb.buf.String() }
6969
// truncatedDiff computes a diff but truncates inputs to avoid O(n²) blowup
7070
// on large outputs with many differences.
7171
func truncatedDiff(expected, actual string) string {
72-
const maxLines = 300
72+
const maxLines = 80
7373
truncate := func(s string) string {
7474
lines := strings.SplitN(s, "\n", maxLines+1)
7575
if len(lines) > maxLines {

0 commit comments

Comments
 (0)