X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F17sqlfxml-producer.t;h=5b9fa76daa8ba556183a73b0cff0454614d2451c;hb=0a0aab7b528f29da185d00a63b4f11597fdd6170;hp=050bc42fa0fc856f935955a13f041cf783076e04;hpb=6142e63541b6a6ae5658437b0ff49332c9121212;p=dbsrgits%2FSQL-Translator.git diff --git a/t/17sqlfxml-producer.t b/t/17sqlfxml-producer.t index 050bc42..5b9fa76 100644 --- a/t/17sqlfxml-producer.t +++ b/t/17sqlfxml-producer.t @@ -297,6 +297,14 @@ $ans = < + + + + + + + + @@ -326,6 +334,18 @@ EOXML ) or die $t->error; $f->extra(ZEROFILL => "1"); + $t->add_field( + name => "bar", + data_type => "numeric", + size => "10,2", + ) or die $t->error; + $t->add_field( + name => "baz", + data_type => "decimal", + size => [8,3], + ) or die $t->error; + + # As we have created a Schema we give translate a dummy string so that # it will run the produce. lives_ok {$xml =$obj->translate("FOO");} "Translate (Field.extra) ran";