From: Ken Youens-Clark Date: Fri, 6 Jun 2003 22:45:44 +0000 (+0000) Subject: General clean up to make it more like other tests. X-Git-Tag: v0.02~69 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b4bc8f6f6660b0a69cf2cd63959f65fd7a6e0ca0;p=dbsrgits%2FSQL-Translator.git General clean up to make it more like other tests. --- diff --git a/t/03mysql-to-oracle.t b/t/03mysql-to-oracle.t index f4e22a1..0897878 100644 --- a/t/03mysql-to-oracle.t +++ b/t/03mysql-to-oracle.t @@ -1,9 +1,9 @@ #!/usr/local/bin/perl # vim: set ft=perl: -use Test::More; - -plan tests => 1; +use strict; +use Test::More tests => 1; +use SQL::Translator; my $create = q| CREATE TABLE random ( @@ -13,12 +13,10 @@ CREATE TABLE random ( ); |; -use SQL::Translator; -use Data::Dumper; - -my $tr = SQL::Translator->new(parser => "MySQL", - producer => "Oracle" - ); +my $tr = SQL::Translator->new( + parser => "MySQL", + producer => "Oracle" +); -ok($tr->translate(\$create)); +ok( $tr->translate(\$create), 'Translate MySQL to Oracle' );