From: Jess Robinson Date: Fri, 29 Aug 2008 08:39:35 +0000 (+0000) Subject: Update mysql producer test to saner field names, Peter R. X-Git-Tag: v0.11008~299 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=75b8fbe8947a071a0ed53750af2e6f24a0ab2a40;p=dbsrgits%2FSQL-Translator.git Update mysql producer test to saner field names, Peter R. --- diff --git a/t/38-mysql-producer.t b/t/38-mysql-producer.t index 3c95bde..d2703fe 100644 --- a/t/38-mysql-producer.t +++ b/t/38-mysql-producer.t @@ -271,7 +271,7 @@ my $number_sizes = { for my $size (keys %$number_sizes) { my $expected = $number_sizes->{$size}; my $number_field = SQL::Translator::Schema::Field->new( - name => "numberfield_$size", + name => "numberfield_$expected", table => $table, data_type => 'number', size => $size, @@ -282,7 +282,7 @@ for my $size (keys %$number_sizes) { is( SQL::Translator::Producer::MySQL::create_field($number_field), - "numberfield_$size $expected($size)", + "numberfield_$expected $expected($size)", "Use $expected for NUMBER types of size $size" ); }