From: Mark Addison Date: Wed, 18 May 2005 15:47:24 +0000 (+0000) Subject: Fixed YAML testi. Failed due to sqlfairy version increase and YAML not putting X-Git-Tag: v0.11008~569 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6f1466406f1af99f65083dc14fe457bfd155f424;p=dbsrgits%2FSQL-Translator.git Fixed YAML testi. Failed due to sqlfairy version increase and YAML not putting the YAML version in the output anymore (seems to have been commented out of YAML.pm some versions ago). Set YAML version in Build.pm so we know we get a version that works. --- diff --git a/Build.PL b/Build.PL index 345a75b..69434c5 100644 --- a/Build.PL +++ b/Build.PL @@ -1,4 +1,4 @@ -# $Id: Build.PL,v 1.3 2004-11-05 13:19:31 grommit Exp $ +# $Id: Build.PL,v 1.4 2005-05-18 15:47:24 grommit Exp $ use strict; use Module::Build; @@ -37,7 +37,7 @@ my $builder = Module::Build->new( 'Text::RecordParser' => 0.02, 'XML::Writer' => 0.500, 'XML::XPath' => 1.13, - 'YAML' => 0, + 'YAML' => 0.39, }, build_requires => { 'File::Basename' => 0, diff --git a/t/24yaml.t b/t/24yaml.t index 90f4d9a..09762c9 100644 --- a/t/24yaml.t +++ b/t/24yaml.t @@ -15,7 +15,7 @@ BEGIN { } my $yaml = <<'YAML'; ---- #YAML:1.0 +--- schema: procedures: {} tables: @@ -226,7 +226,7 @@ translator: producer_type: SQL::Translator::Producer::YAML show_warnings: 0 trace: 0 - version: 0.06 + version: 0.07 YAML my $file = "$Bin/data/sqlite/create.sql";