Subject: | test_fails gives errors when using Test::Builder 0.31 |
Test-Builder-Tester 1.01, Test-Simple 0.61, MacOSX 10.4, stock perl (5.8.6)
Test::Builder, in the 'ok' sub, lines 453-454, uses this format for diagnosing failures:
$msg test '$name'
in $file at line $line.
but Test::Builder::Tester expects (test_fail sub, line 242):
Failed test ($file at line $line)
To fix this, either we pass the test name to test_fail (breaks the API), or resurrect bug #380 and change 'expect' to accept a regexp.