[DBD::Pg 1/3] Skip SQL_ASCII for certain tests
dbdpg-commits-gENoVmVU/[email protected] Sat, 7 Feb 2015 12:45:35 +0000
| Newsgroups | gmane.comp.db.postgresql.dbdpg.cvs |
|---|---|
| Message-ID | <[email protected]> |
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]> Subject: [DBD::Pg 1/3] Skip SQL_ASCII for certain tests --- t/12placeholders.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/12placeholders.t b/t/12placeholders.t index 548cd19..a470c76 100644 --- a/t/12placeholders.t +++ b/t/12placeholders.t @@ -657,8 +657,8 @@ for my $char (qw{0 9 A Z a z}) { ## six letters SKIP: { my $server_encoding = $dbh->selectrow_array('SHOW server_encoding'); - skip "Cannot test non-ascii dollar quotes with server_encoding='$server_encoding' (need UTF8 or SQL_ASCII)", 3, - unless $server_encoding =~ /\A(?:UTF8|SQL_ASCII)\z/; + skip "Cannot test non-ascii dollar quotes with server_encoding='$server_encoding' (need UTF8)", 3, + unless $server_encoding =~ /UTF8/; for my $ident (qq{\x{5317}}, qq{abc\x{5317}}, qq{_cde\x{5317}}) { ## hi-bit chars eval { -- 1.8.4