Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 23621
Status: new
Priority: 0/
Queue: Test-Base

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

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



Subject: [PATCH] t/diff_is.t fails
The follow change went into Test-Simple-0.65: * Made the failure diagnostic message file and line reporting portion match Perl's for easier integration with Perl aware editors. (so its "at $file line $line_num." now) [rt.cpan.org #20639] This change now causes t/diff_is.t in Test::Base to fail. The follow patch fixes the tests. --- Makefile.PL.old 2006-11-25 21:34:26.000000000 -0600 +++ Makefile.PL 2006-11-25 21:34:33.000000000 -0600 @@ -5,7 +5,7 @@ requires perl => '5.6.1'; requires Spiffy => '0.30'; -requires Test::More => '0.62'; +requires Test::More => '0.65'; clean_files 't/output'; --- t/diff_is.t.old 2006-11-25 21:26:57.000000000 -0600 +++ t/diff_is.t 2006-11-25 21:29:58.000000000 -0600 @@ -32,7 +32,7 @@ 1..1 not ok 1 - little diff # Failed test 'little diff' -# in /tmp/test-blocks-321 at line 3. +# at /tmp/test-blocks-321 line 3. # got: 'a b c' # expected: 'a b x' # Looks like you failed 1 test of 1. @@ -71,7 +71,7 @@ # four # +five # ' -# in /tmp/test-blocks-321 at line 3. +# at /tmp/test-blocks-321 line 3. # Looks like you failed 1 test of 1. @@ -105,7 +105,7 @@ # +two # three # ' -# in /tmp/test-blocks-321 at line 3. +# at /tmp/test-blocks-321 line 3. # Looks like you failed 1 test of 1.