From: Rafael Kitover Date: Sun, 24 Jul 2011 17:04:15 +0000 (-0400) Subject: fix t/10_11msaccess_common.t on non-Win32 X-Git-Tag: 0.07011~63 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ef345a5c67a5e95220ac24c9fe8bee512348ba9;p=dbsrgits%2FDBIx-Class-Schema-Loader.git fix t/10_11msaccess_common.t on non-Win32 Changes a "use Win32::OLE" to a require where needed. --- diff --git a/t/10_11msaccess_common.t b/t/10_11msaccess_common.t index bca0924..a9e0c86 100644 --- a/t/10_11msaccess_common.t +++ b/t/10_11msaccess_common.t @@ -2,7 +2,6 @@ use strict; use warnings; use Test::More; use DBIx::Class::Schema::Loader::DBI::ODBC::ACCESS (); -use Win32::OLE (); use lib qw(t/lib); use dbixcsl_common_tests; @@ -127,6 +126,7 @@ my $tester = dbixcsl_common_tests->new( my $conn = $loader->_ado_connection; + require Win32::OLE; my $comm = Win32::OLE->new('ADODB.Command'); $comm->{ActiveConnection} = $conn;