Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Locale-Maketext-Lexicon CPAN distribution.

Report information
The Basics
Id: 70372
Status: resolved
Priority: 0/
Queue: Locale-Maketext-Lexicon

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

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



Subject: Skip count wrong for TT tests in 5-extract.t
Two new TT tests were added in today's builds, but the skip count for the condition where the Template module was unavailable wasn't adjusted, hence the test suite fails with "ran 76 tests but expected 78" unless Template is available. Attached patch fixes this.
Subject: Locale-Maketext-Lexicon-0.90-test-count.patch
--- Locale-Maketext-Lexicon-0.90/t/5-extract.t.orig 2011-08-19 13:19:06.000000000 +0100 +++ Locale-Maketext-Lexicon-0.90/t/5-extract.t 2011-08-19 15:28:20.352666439 +0100 @@ -568,7 +568,7 @@ #### BEGIN TT TESTS ############ SKIP: { - skip( 'Template.pm unavailable', 46 ) unless eval { require Template }; + skip( 'Template.pm unavailable', 48 ) unless eval { require Template }; extract_ok( <<'__EXAMPLE__' => 'foo bar baz', 'trim the string (tt)' ); [% |loc -%]
On Fri Aug 19 10:54:21 2011, paul@city-fan.org wrote: Show quoted text
> Two new TT tests were added in today's builds, but the skip count for > the condition where the Template module was unavailable wasn't adjusted, > hence the test suite fails with "ran 76 tests but expected 78" unless > Template is available. Attached patch fixes this.
many thanks for spotting i've uploaded a new distro which fixes that clint