projects
/
dbsrgits/SQL-Translator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix error handling for Test::PostgreSQL 1.20
[dbsrgits/SQL-Translator.git]
/
t
/
postgresql-rename-table-and-field.t
diff --git
a/t/postgresql-rename-table-and-field.t
b/t/postgresql-rename-table-and-field.t
index
830fba9
..
564f7ad
100644
(file)
--- a/
t/postgresql-rename-table-and-field.t
+++ b/
t/postgresql-rename-table-and-field.t
@@
-18,7
+18,7
@@
if ($ENV{DBICTEST_PG_DSN}) {
else {
no warnings 'once';
maybe_plan(undef, 'Test::PostgreSQL');
- $pg_tst = Test::PostgreSQL->new
+ $pg_tst = eval { Test::PostgreSQL->new }
or plan skip_all => "Can't create test database: $Test::PostgreSQL::errstr";
$dsn = $pg_tst->dsn;
};