X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F745db2.t;fp=t%2F745db2.t;h=e9a3fa6dcaf5b03875372b133487c795ff49203a;hb=e2741c7fd695dca054614f297b01d351a45bbf38;hp=34cc2a1e522969b99280e530e3c79f63d72502ca;hpb=82c5f9168e30bc9dc7b681058298bb342582c5ec;p=dbsrgits%2FDBIx-Class.git diff --git a/t/745db2.t b/t/745db2.t index 34cc2a1..e9a3fa6 100644 --- a/t/745db2.t +++ b/t/745db2.t @@ -6,7 +6,6 @@ use warnings; use Test::More; use Test::Exception; -use Try::Tiny; use DBICTest; @@ -22,9 +21,9 @@ my $dbh = $schema->storage->dbh; is $schema->storage->sql_maker->name_sep, $name_sep, 'name_sep detection'; -my $have_rno = try { +my $have_rno = eval { $dbh->selectrow_array( -"SELECT row_number() OVER (ORDER BY 1) FROM sysibm${name_sep}sysdummy1" + "SELECT row_number() OVER (ORDER BY 1) FROM sysibm${name_sep}sysdummy1" ); 1; };