Author: turnstep
Date: Thu Jan 17 08:49:31 2008
New Revision: 10588

Modified:
   DBD-Pg/trunk/t/02attribs.t

Log:
Account for valid case of DBI_DSN='dbi:Pg:'


Modified: DBD-Pg/trunk/t/02attribs.t
==============================================================================
--- DBD-Pg/trunk/t/02attribs.t  (original)
+++ DBD-Pg/trunk/t/02attribs.t  Thu Jan 17 08:49:31 2008
@@ -179,7 +179,7 @@
 #
 
 SKIP: {
-       if (!exists $ENV{DBI_DSN} or $ENV{DBI_DSN} !~ /^dbi:Pg:(.*)$/) {
+       if (!exists $ENV{DBI_DSN} or $ENV{DBI_DSN} !~ /^dbi:Pg:(.+)$/) {
                skip q{Cannot test DB handle attribute "Name": invalid 
DBI_DSN}, 1;
        }
        else {

Reply via email to