From: Ken Youens-Clark Date: Wed, 20 Aug 2003 20:53:48 +0000 (+0000) Subject: Changed test to match what's returned for the size of a "text" field. X-Git-Tag: v0.04~278 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=60e3ded0e6a79f2dba128999af7bdd6bf1ec80b3;p=dbsrgits%2FSQL-Translator.git Changed test to match what's returned for the size of a "text" field. --- diff --git a/t/14postgres-parser.t b/t/14postgres-parser.t index 4b5e10d..58da769 100644 --- a/t/14postgres-parser.t +++ b/t/14postgres-parser.t @@ -119,7 +119,7 @@ my $f9 = shift @t1_fields; is( $f9->name, 'f_text', 'Ninth field is "f_text"' ); is( $f9->data_type, 'text', 'Field is text' ); is( $f9->is_nullable, 1, 'Field can be null' ); -is( $f9->size, 0, 'Size is "0"' ); +is( $f9->size, 64000, 'Size is "64,000"' ); is( $f9->default_value, undef, 'Default value is undefined' ); is( $f9->is_primary_key, 0, 'Field is not PK' );