Skip Menu |

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

Report information
The Basics
Id: 59076
Status: new
Priority: 0/
Queue: Test-LongString

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
perl [...] rzgierskopp.de
Cc:
AdminCc:

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



Subject: Add more position diagnostics than just "char X"
For a typical string match, where one half of the match was slurped out of a file, you get something like this... not ok 8 - ->dialog_super ok # Failed test '->dialog_super ok' # at t\02_simple.t line 23. # got: ..."'),\x{0a}\x{09});\x{0a}\x{0a}\x{09}$self->{m_button1} = Wx::Button->new(\x{0a}\x{09}\x{09}"... # length: 1427 # expected: ..."'),\x{0a}\x{09});\x{0a}\x{0a}\x{09}my $m_staticline1 = Wx::StaticLine->new("... # length: 1236 # strings begin to differ at char 419 While this is quite nice, the location of the problem would be much quicker to locate if you could also get the line and column values for the differ point as well. This is particularly tricky because the newline format in the editor won't always be quite the same. Extending the diagnostics to list char + line + column would greatly speed up the process of locating the differ point.
Subject: [rt.perl.org #59076]
Date: Wed, 13 Aug 2014 10:04:36 +0200
To: bug-Test-LongString [...] rt.cpan.org
From: Chris Koester <perl [...] rzgierskopp.de>
It would be nice to mark the beginning of the difference e.g. with '^'.