From: Ken Youens-Clark Date: Fri, 12 Mar 2004 01:21:10 +0000 (+0000) Subject: Updated to match new YAML output. X-Git-Tag: v0.06~134 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2c05ed8e81910539b8225be697c07bdc4b10822a;p=dbsrgits%2FSQL-Translator.git Updated to match new YAML output. --- diff --git a/t/24yaml.t b/t/24yaml.t index e578e18..cf24d00 100644 --- a/t/24yaml.t +++ b/t/24yaml.t @@ -14,7 +14,8 @@ BEGIN { 'SQL::Translator::Producer::YAML'); } -my $yaml = q/--- #YAML:1.0 +my $yaml = <<'YAML'; +--- #YAML:1.0 schema: procedures: {} tables: @@ -215,7 +216,18 @@ schema: select pr.person_id, pr.name as person_name, pt.name as pet_name from person pr, pet pt where person.person_id=pet.pet_id -/; +translator: + add_drop_table: 0 + filename: '/work/sqlfairy/sqlfairy/t/data/sqlite/create.sql' + no_comments: 0 + parser_args: {} + parser_type: SQL::Translator::Parser::SQLite + producer_args: {} + producer_type: SQL::Translator::Producer::YAML + show_warnings: 0 + trace: 0 + version: 0.05 +YAML my $tr = SQL::Translator->new( parser => 'SQLite',