MAss diff changes imported from Ash's local diff-refactor branch
[dbsrgits/SQL-Translator.git] / t / 39-filter-globals.t
index 633773d..68fd98d 100644 (file)
@@ -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{---
@@ -50,7 +52,6 @@ schema:
   procedures: {}
   tables:
     Person:
-      comments: ''
       constraints:
         - deferrable: 1
           expression: ''
@@ -66,7 +67,6 @@ schema:
           type: UNIQUE
       fields:
         created:
-          comments: ''
           data_type: timestamp
           default_value: ~
           extra: {}
@@ -78,7 +78,6 @@ schema:
           size:
             - 0
         first_name:
-          comments: ''
           data_type: foovar
           default_value: ~
           extra: {}
@@ -90,7 +89,6 @@ schema:
           size:
             - 0
         modified:
-          comments: ''
           data_type: timestamp
           default_value: ~
           extra: {}
@@ -127,7 +125,7 @@ translator:
   producer_type: SQL::Translator::Producer::YAML
   show_warnings: 1
   trace: 0
-  version: 0.07
+  version: $sqlt_version
 };