From: Chris Hilton Date: Tue, 10 Oct 2006 16:34:53 +0000 (+0000) Subject: Get SQLT version dynamically X-Git-Tag: v0.11008~404 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9866969c9ce1f27f43ac15d967dc42e6421dd2df;p=dbsrgits%2FSQL-Translator.git Get SQLT version dynamically --- diff --git a/t/39-filter-globals.t b/t/39-filter-globals.t index 633773d..dfc4f36 100644 --- a/t/39-filter-globals.t +++ b/t/39-filter-globals.t @@ -17,6 +17,8 @@ BEGIN { use Test::Differences; use SQL::Translator; +my $sqlt_version = $SQL::Translator::VERSION; + # The _GLOBAL_ table should be removed and its fields copied onto all other # tables. my $in_yaml = qq{--- @@ -127,7 +129,7 @@ translator: producer_type: SQL::Translator::Producer::YAML show_warnings: 1 trace: 0 - version: 0.07 + version: $sqlt_version };