Michael G Schwern pobox.com> writes:
> From the evidence below, this appears to be a test against some old
> and/or patched version of Test::More.
>
> BTW The changes look interesting.
>
>
> srezic@
cpan.org wrote:
>> t/extra.........................
>> # Failed test in t/extra.t at line 0.
>> # got: '# Failed test 'Bar'
>> # # in t/extra.t at line 31.
>> # # Failed test 'Sar'
>> # # in t/extra.t at line 34.
>> # # Looks like you planned 3 tests but ran 2 extra.
>> # # Looks like you failed 2 tests of 5 run.
>> # '
>> # expected: '# Failed test 'Bar'
>> # # at t/extra.t line 31.
>> # # Failed test 'Sar'
>> # # at t/extra.t line 34.
>> # # Looks like you planned 3 tests but ran 2 extra.
>> # # Looks like you failed 2 tests of 5 run.
>> # '
>
> 0.64_01 changed the diagnostic message to match Perl's "$message at
> $file line $num". You're running some very old version.
>
It's Test::More 0.62, the standard one in perl
5.8.8.
>
>> t/no_plan.......................
>> # Failed test in /
usr/local/lib/perl5/site_perl/5.8.8/Test/More.pm at line 329.
>> # got: 'Got an undefined number of tests. Looks like you tried to say how many tests you plan to run but made a mistake.
>> # '
>> # expected: 'Got an undefined number of tests at t/no_plan.t line 19.
>> # '
>
> Test::Builder never output that message above. So you're running some
> very patched version.
>
>
>
>> t/plan..........................
>> # Failed test 'disallow double plan'
>> # in t/plan.t at line 14.
>> # got: 'You tried to plan twice! Second plan at t/plan.t line 13
>> # '
>> # expected: 'You tried to plan twice at t/plan.t line 13.
>> # '
>> # Failed test 'disallow changing plan'
>> # in t/plan.t at line 17.
>> # got: 'You tried to plan twice! Second plan at t/plan.t line 16
>> # '
>> # expected: 'You tried to plan twice at t/plan.t line 16.
>> # '
>
> There never was anything in Test::Builder that reported the location
> of the second plan.
>
Googling for this error message also got me some hits.
Regards,
Slaven