From: Peter Rabbitson Date: Tue, 28 Apr 2009 22:59:41 +0000 (+0000) Subject: Changes to tests to go along r1512 X-Git-Tag: v0.11008~163^2~19 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=21d62b634231c0c9d8314a04dc8857de70382a55;hp=e0d2b70b41dc4c9e7699d4219f65f30bd08e75a7;p=dbsrgits%2FSQL-Translator.git Changes to tests to go along r1512 --- diff --git a/t/16xml-parser.t b/t/16xml-parser.t index 19c6111..275ed7f 100644 --- a/t/16xml-parser.t +++ b/t/16xml-parser.t @@ -90,7 +90,7 @@ schema_ok( $scma, { { name => "email", data_type => "varchar", - size => 255, + size => 500, is_unique => 1, default_value => undef, is_nullable => 1, diff --git a/t/18ttschema-producer.t b/t/18ttschema-producer.t index 67233ad..c6efae0 100644 --- a/t/18ttschema-producer.t +++ b/t/18ttschema-producer.t @@ -146,7 +146,7 @@ Fields email data_type: varchar - size: 255 + size: 500 is_nullable: 1 default_value: is_primary_key: 0 diff --git a/t/46xml-to-pg.t b/t/46xml-to-pg.t index dcf08af..9525160 100644 --- a/t/46xml-to-pg.t +++ b/t/46xml-to-pg.t @@ -39,7 +39,7 @@ CREATE TABLE "Basic" ( "id" serial NOT NULL, "title" character varying(100) DEFAULT 'hello' NOT NULL, "description" text DEFAULT '', - "email" character varying(255), + "email" character varying(500), "explicitnulldef" character varying, "explicitemptystring" character varying DEFAULT '', -- Hello emptytagdef diff --git a/t/51-xml-to-oracle.t b/t/51-xml-to-oracle.t index 7f802a6..5d01ae1 100644 --- a/t/51-xml-to-oracle.t +++ b/t/51-xml-to-oracle.t @@ -45,7 +45,7 @@ my $want = [ id number(10) NOT NULL, title varchar2(100) DEFAULT \'hello\' NOT NULL, description clob DEFAULT \'\', - email varchar2(255), + email varchar2(500), explicitnulldef varchar2, explicitemptystring varchar2 DEFAULT \'\', emptytagdef varchar2 DEFAULT \'\', @@ -107,7 +107,7 @@ CREATE TABLE Basic ( id number(10) NOT NULL, title varchar2(100) DEFAULT 'hello' NOT NULL, description clob DEFAULT '', - email varchar2(255), + email varchar2(500), explicitnulldef varchar2, explicitemptystring varchar2 DEFAULT '', emptytagdef varchar2 DEFAULT '',