X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F24yaml.t;h=08757d9f47f3a5e7006ff76cdb2be67b36f3852d;hb=20ac7e8e5711745513d8a1042639975948f0242e;hp=09762c97344904285ff66df21b059cbd62cb186d;hpb=6f1466406f1af99f65083dc14fe457bfd155f424;p=dbsrgits%2FSQL-Translator.git diff --git a/t/24yaml.t b/t/24yaml.t index 09762c9..08757d9 100644 --- a/t/24yaml.t +++ b/t/24yaml.t @@ -1,6 +1,4 @@ -#!/usr/local/bin/perl -# vim: set ft=perl: - +use warnings; use strict; use Test::More; use Test::Differences; @@ -14,13 +12,14 @@ BEGIN { 'SQL::Translator::Producer::YAML'); } -my $yaml = <<'YAML'; +my $sqlt_version = $SQL::Translator::VERSION; +use YAML qw(Dump Load); +my $yaml = Dump(Load(<