[Bast-commits] r5267 - DBIx-Class/0.08/branches/sqla_1.50_compat/t

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Sun Dec 21 08:26:19 GMT 2008


Author: ribasushi
Date: 2008-12-21 08:26:19 +0000 (Sun, 21 Dec 2008)
New Revision: 5267

Modified:
   DBIx-Class/0.08/branches/sqla_1.50_compat/t/19quotes.t
   DBIx-Class/0.08/branches/sqla_1.50_compat/t/19quotes_newstyle.t
   DBIx-Class/0.08/branches/sqla_1.50_compat/t/41orrible.t
   DBIx-Class/0.08/branches/sqla_1.50_compat/t/95sql_maker.t
   DBIx-Class/0.08/branches/sqla_1.50_compat/t/95sql_maker_quote.t
Log:
Fix ordering of 'use lib' and 'use' in tests

Modified: DBIx-Class/0.08/branches/sqla_1.50_compat/t/19quotes.t
===================================================================
--- DBIx-Class/0.08/branches/sqla_1.50_compat/t/19quotes.t	2008-12-21 00:39:44 UTC (rev 5266)
+++ DBIx-Class/0.08/branches/sqla_1.50_compat/t/19quotes.t	2008-12-21 08:26:19 UTC (rev 5267)
@@ -3,6 +3,8 @@
 
 use Test::More;
 use IO::File;
+
+use lib qw(t/lib);
 use DBIC::SqlMakerTest;
 
 BEGIN {
@@ -12,7 +14,6 @@
         : ( tests => 7 );
 }
 
-use lib qw(t/lib);
 
 use_ok('DBICTest');
 use_ok('DBIC::DebugObj');

Modified: DBIx-Class/0.08/branches/sqla_1.50_compat/t/19quotes_newstyle.t
===================================================================
--- DBIx-Class/0.08/branches/sqla_1.50_compat/t/19quotes_newstyle.t	2008-12-21 00:39:44 UTC (rev 5266)
+++ DBIx-Class/0.08/branches/sqla_1.50_compat/t/19quotes_newstyle.t	2008-12-21 08:26:19 UTC (rev 5267)
@@ -3,6 +3,8 @@
 
 use Test::More;
 use IO::File;
+
+use lib qw(t/lib);
 use DBIC::SqlMakerTest;
 
 BEGIN {
@@ -12,8 +14,6 @@
         : ( tests => 7 );
 }
 
-use lib qw(t/lib);
-
 use_ok('DBICTest');
 use_ok('DBIC::DebugObj');
 

Modified: DBIx-Class/0.08/branches/sqla_1.50_compat/t/41orrible.t
===================================================================
--- DBIx-Class/0.08/branches/sqla_1.50_compat/t/41orrible.t	2008-12-21 00:39:44 UTC (rev 5266)
+++ DBIx-Class/0.08/branches/sqla_1.50_compat/t/41orrible.t	2008-12-21 08:26:19 UTC (rev 5267)
@@ -2,10 +2,11 @@
 use warnings;
 
 use Test::More;
-#use DBIx::Class::Storage::DBI;
-use DBIC::SqlMakerTest;
 use DBIx::Class::Storage::DBI::Oracle::WhereJoins;
 
+use lib qw(t/lib);
+use DBIC::SqlMakerTest;
+
 plan tests => 4;
 
 my $sa = new DBIC::SQL::Abstract::Oracle;

Modified: DBIx-Class/0.08/branches/sqla_1.50_compat/t/95sql_maker.t
===================================================================
--- DBIx-Class/0.08/branches/sqla_1.50_compat/t/95sql_maker.t	2008-12-21 00:39:44 UTC (rev 5266)
+++ DBIx-Class/0.08/branches/sqla_1.50_compat/t/95sql_maker.t	2008-12-21 08:26:19 UTC (rev 5267)
@@ -2,9 +2,10 @@
 use warnings;
 
 use Test::More;
+
+use lib qw(t/lib);
 use DBIC::SqlMakerTest;
 
-
 BEGIN {
     eval "use DBD::SQLite";
     plan $@

Modified: DBIx-Class/0.08/branches/sqla_1.50_compat/t/95sql_maker_quote.t
===================================================================
--- DBIx-Class/0.08/branches/sqla_1.50_compat/t/95sql_maker_quote.t	2008-12-21 00:39:44 UTC (rev 5266)
+++ DBIx-Class/0.08/branches/sqla_1.50_compat/t/95sql_maker_quote.t	2008-12-21 08:26:19 UTC (rev 5267)
@@ -2,9 +2,10 @@
 use warnings;
 
 use Test::More;
+
+use lib qw(t/lib);
 use DBIC::SqlMakerTest;
 
-
 BEGIN {
     eval "use DBD::SQLite";
     plan $@




More information about the Bast-commits mailing list