Author: turnstep
Date: Sun Jan 27 06:56:05 2008
New Revision: 10654

Modified:
   DBD-Pg/trunk/t/09arrays.t

Log:
Remove unused $role var, fix overlooked SKIP count.


Modified: DBD-Pg/trunk/t/09arrays.t
==============================================================================
--- DBD-Pg/trunk/t/09arrays.t   (original)
+++ DBD-Pg/trunk/t/09arrays.t   Sun Jan 27 06:56:05 2008
@@ -266,13 +266,6 @@
 
 ## Pure string to array conversion testing
 
-## Use ourselves as a valid role
-my $role = 'SKIP';
-if ($pgversion >= 80100) {
-       $SQL = 'SELECT current_role';
-       $role = $dbh->selectall_arrayref($SQL)->[0][0];
-}
-
 my $array_tests_out =
 q!1
 [1]
@@ -451,7 +444,7 @@
 
 SKIP: {
        eval { require Encode; };
-       skip 'Encode module is needed for unicode tests', 5 if $@;
+       skip 'Encode module is needed for unicode tests', 14 if $@;
 
        local $dbh->{pg_enable_utf8} = 1;
        my $utf8_str = chr(0x100).'dam'; # LATIN CAPITAL LETTER A WITH MACRON

Reply via email to