From: Ricardo Signes Date: Tue, 2 Dec 2008 20:21:40 +0000 (+0000) Subject: fix test expectations X-Git-Tag: v0.11008~270 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6d80a12008c5cdb4690201259bd4323f55ec6712;p=dbsrgits%2FSQL-Translator.git fix test expectations --- diff --git a/t/02mysql-parser.t b/t/02mysql-parser.t index 1ed7001..903dfe6 100644 --- a/t/02mysql-parser.t +++ b/t/02mysql-parser.t @@ -581,7 +581,11 @@ BEGIN { my $t1f2 = shift @fields; is( $t1f2->data_type, 'timestamp', 'Field is a timestamp' ); ok( !$t1f2->is_nullable, 'Field is not nullable' ); - is( $t1f2->default_value, 'CURRENT_TIMESTAMP', 'Field has right default value' ); + is_deeply( + $t1f2->default_value, + \'CURRENT_TIMESTAMP', + 'Field has right default value' + ); is( $t1f2->extra('on update'), 'CURRENT_TIMESTAMP', 'Field has right on update qualifier' ); my @views = $schema->get_views;