Skip Menu |

This queue is for tickets about the SQL-Translator CPAN distribution.

Report information
The Basics
Id: 28781
Status: resolved
Priority: 0/
Queue: SQL-Translator

People
Owner: Nobody in particular
Requestors: tom@eborcom.com (no email address)
Cc:
AdminCc:

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



Subject: Tests fail with Template Toolkit versions > 2.15
33tt-table-producer.t skips its tests for version 2.15 of Template Toolkit. I have version 2.19 installed: the tests fail as this version does not equal 2.15. I have attached a patch that skips the tests for version 2.15 and above. Tom Hukins
Subject: tt-table-producer.patch
--- t/33tt-table-producer.t.was 2006-12-07 14:05:16.000000000 +0000 +++ t/33tt-table-producer.t 2007-08-10 10:27:37.000000000 +0100 @@ -23,7 +23,7 @@ BEGIN { eval {require Template;}; plan skip_all => "Template v2.15 is incompatible with SQL::Translator 0.08" - if !$@ && Template->VERSION == 2.15; + if !$@ && Template->VERSION >= 2.15; maybe_plan(8, 'Template', 'Test::Differences') }
From: cpan [...] desert-island.me.uk
Applied (a while ago actually ;) and patch sent for TT 2.20.. Jess On Fri Aug 10 05:33:27 2007, tom@eborcom.com wrote: Show quoted text
> 33tt-table-producer.t skips its tests for version 2.15 of Template > Toolkit. I have version 2.19 installed: the tests fail as this
version Show quoted text
> does not equal 2.15. I have attached a patch that skips the tests for > version 2.15 and above. > > Tom Hukins