From: Fabien Wernli Date: Wed, 24 Feb 2010 15:26:37 +0000 (+0000) Subject: tests X-Git-Tag: v0.11008~57 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7de0715cd3c9d0e5fde79c84859f5334575accfa;p=dbsrgits%2FSQL-Translator.git tests --- diff --git a/t/51-xml-to-oracle.t b/t/51-xml-to-oracle.t index 8b5e02c..0d4e626 100644 --- a/t/51-xml-to-oracle.t +++ b/t/51-xml-to-oracle.t @@ -46,7 +46,7 @@ my $want = [ 'CREATE TABLE Basic ( id number(10) NOT NULL, title varchar2(100) DEFAULT \'hello\' NOT NULL, - description varchar2(4000) DEFAULT \'\', + description varchar2 DEFAULT \'\', email varchar2(500), explicitnulldef varchar2, explicitemptystring varchar2 DEFAULT \'\', @@ -110,7 +110,7 @@ CREATE SEQUENCE sq_Basic_id01; CREATE TABLE Basic ( id number(10) NOT NULL, title varchar2(100) DEFAULT 'hello' NOT NULL, - description varchar2(4000) DEFAULT '', + description varchar2 DEFAULT '', email varchar2(500), explicitnulldef varchar2, explicitemptystring varchar2 DEFAULT '', diff --git a/t/51-xml-to-oracle_quoted.t b/t/51-xml-to-oracle_quoted.t index 2e82dd1..73627ec 100644 --- a/t/51-xml-to-oracle_quoted.t +++ b/t/51-xml-to-oracle_quoted.t @@ -46,7 +46,7 @@ my $want = [ 'CREATE TABLE "Basic" ( "id" number(10) NOT NULL, "title" varchar2(100) DEFAULT \'hello\' NOT NULL, - "description" varchar2(4000) DEFAULT \'\', + "description" varchar2 DEFAULT \'\', "email" varchar2(500), "explicitnulldef" varchar2, "explicitemptystring" varchar2 DEFAULT \'\', @@ -110,7 +110,7 @@ CREATE SEQUENCE "sq_Basic_id01"; CREATE TABLE "Basic" ( "id" number(10) NOT NULL, "title" varchar2(100) DEFAULT 'hello' NOT NULL, - "description" varchar2(4000) DEFAULT '', + "description" varchar2 DEFAULT '', "email" varchar2(500), "explicitnulldef" varchar2, "explicitemptystring" varchar2 DEFAULT '',