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: 107823
Status: new
Priority: 0/
Queue: Test-Differences

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

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



Subject: Bad result with very long string
Hello Given the 2 attached files, gnu diff returns: $ diff -u orig.txt new.txt --- orig.txt 2015-10-16 13:14:32.972453163 +0200 +++ new.txt 2015-10-16 13:14:32.976453179 +0200 @@ -26,7 +26,7 @@ If publications result from research using this SOFTWARE, we ask that CSHL be acknowledged and/or credit be given to CSHL scientists, as scientifically appropriate." - -Files:"lib/Bio/Graphics/Glyph/rndrect.pm +Files:"lib/Bio/Graphics/Glyph/rndrect.pm lib/Bio/Graphics/Glyph/splice_site.pm lib/Bio/Graphics/Glyph/extending_arrow.pm" Copyright="© 2001 Berkeley Drosophila Genome Project" But Test::Differences report that one of the files is empty: $ perl -MTest::More -MTest::Differences -MPath::Tiny -E 'unified_diff; eq_or_diff(map {path($_)->slurp_utf8;} qw/orig.txt new.txt/);' not ok 1 # Failed test at -e line 1. # --- Got # +++ Expected # @@ -1 +1 @@ # -"Source=http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Bio-Graphics-2.24.gz\nCommen [etc] I've truncated the output of the "Expected" string for readability. All the best
Subject: new.txt

Message body is not shown because it is too large.

Subject: orig.txt

Message body is not shown because it is too large.

I forgot to mention that the difference between the 2 strings is a white space appended to "rndrect.pm". All the best