X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F86sqlt.t;h=4327cef07b9bfc7bb0b9302702fccbc20dcf9d2f;hb=285dd1d62d2f2e89fd3e8eed3336aa5b1970a4e2;hp=65f2dc805dea96e894e5f65b32fe5813ce94129b;hpb=0fd7e9a31038c6d19a65ee387657c14b12248623;p=dbsrgits%2FDBIx-Class.git diff --git a/t/86sqlt.t b/t/86sqlt.t index 65f2dc8..4327cef 100644 --- a/t/86sqlt.t +++ b/t/86sqlt.t @@ -5,8 +5,12 @@ use Test::More; use lib qw(t/lib); use DBICTest; -eval "use SQL::Translator"; -plan skip_all => 'SQL::Translator required' if $@; +BEGIN { + require DBIx::Class::Storage::DBI; + plan skip_all => + 'Test needs SQL::Translator ' . DBIx::Class::Storage::DBI->_sqlt_minimum_version + if not DBIx::Class::Storage::DBI->_sqlt_version_ok; +} my $schema = DBICTest->init_schema (no_deploy => 1);