X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F02mysql-parser.t;h=36cef3c4e5a6941655b14633108e04f4eb2a83e2;hb=857ab1c2fe0f14539cc17291384da15abee0be54;hp=0d4aa6220564a11051c8f63635755753df5a8d1c;hpb=4177b4ead1a13309559b0b2fca251d7f2f45f593;p=dbsrgits%2FSQL-Translator-2.0-ish.git diff --git a/t/02mysql-parser.t b/t/02mysql-parser.t index 0d4aa62..36cef3c 100644 --- a/t/02mysql-parser.t +++ b/t/02mysql-parser.t @@ -196,7 +196,7 @@ use SQL::Translator::Constants qw(:sqlt_types :sqlt_constants); my $i3 = shift @indices; is( $i3->name, 'name_idx', 'Name is "name_idx"' ); is( $i3->type, NORMAL, 'Normal index' ); - is( join(',', $i3->fields ), 'name(10)', 'Index is on field "name(10)"' ); + is( join(',', $i3->fields ), 'name', 'Index is on field "name(10)"' ); ## FIX ME my @constraints = $table->get_constraints; is( scalar @constraints, 2, 'Right number of constraints (2)' );