Skip Menu |

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

Report information
The Basics
Id: 84597
Status: new
Priority: 0/
Queue: Test-Depends

People
Owner: Nobody in particular
Requestors: colin.newell [...] gmail.com
Cc:
AdminCc:

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



Subject: Test output checking is too strict.
Test::More is hopefully going to switch to TAP v13 and it will output the TAP version at the start of the output which causes one of your tests to fail. Attached is a potential patch for that.
Subject: patch.txt
diff -Naur -x .git Test-Depends-0.06/t/02-test-budget-rentaharness.t Test-Depends-Fix/t/02-test-budget-rentaharness.t --- Test-Depends-0.06/t/02-test-budget-rentaharness.t 2007-11-11 19:46:42.000000000 +0000 +++ Test-Depends-Fix/t/02-test-budget-rentaharness.t 2013-04-12 14:24:51.797638184 +0000 @@ -31,7 +31,7 @@ is($?, 0, "correct RC"); $output = `$^X t/someclass-import.pl somefunc 2>&1`; -is($output, "1..1\nok 1 - somefunc sure is func-y\n", +like($output, qr"(TAP version .*\n)?1..1\nok 1 - somefunc sure is func-y\n", "include SomeClass qw(somefunc) succeeds"); is($?, 0, "correct RC");