Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Differences CPAN distribution.

Report information
The Basics
Id: 100912
Status: new
Priority: 0/
Queue: Test-Differences

People
Owner: Nobody in particular
Requestors: TIMB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: The change in default diff context from 3 to 2**31 was not documented (and seems like a bad idea)
I was wondering why some CPAN Testers reports showed massive diffs: http://www.cpantesters.org/cpan/report/2f8dc548-82c2-11e4-b221-9e126cbd7f71 After some digging I found this diff: - $context = $dump_it ? 2**31 : grep( @$_ > 25, $got, $expected ) ? 3 : 25 - unless defined $context; + $context = 2**31 unless defined $context The change isn't mentioned in the docs or the Changes file. I can't see how the outputting of massive diffs could be a helpful change. I'd like to see this change reverted.
In fact the docs still state "Normally, eq_or_diff() uses some heuristics to determine whether to show 3 lines of context (like a normal unified diff) or 25 lines". I'd characterize the current behaviour as an unhelpful bug.