General clean up to make it more like other tests.
Ken Youens-Clark [Fri, 6 Jun 2003 22:45:44 +0000 (22:45 +0000)]
t/03mysql-to-oracle.t

index f4e22a1..0897878 100644 (file)
@@ -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' );