[DBD::Pg] Make error message detection locale proof; should help tests pass
dbdpg-commits-gENoVmVU/[email protected] Sun, 6 Apr 2014 13:06:01 +0000
| Newsgroups | gmane.comp.db.postgresql.dbdpg.cvs |
|---|---|
| Message-ID | <[email protected]> |
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]> Make error message detection locale proof; should help tests pass --- t/dbdpg_test_setup.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/dbdpg_test_setup.pl b/t/dbdpg_test_setup.pl index b21c390..0235589 100644 --- a/t/dbdpg_test_setup.pl +++ b/t/dbdpg_test_setup.pl @@ -117,7 +117,7 @@ version: $version 1; }; - if ($@ =~ /invalid connection option/ or $@ =~ /failed:.*"dbbarf"/) { + if ($@ =~ /invalid connection option/ or $@ =~ /"dbbarf"/) { return $helpconnect, $@, undef; } -- 1.8.4