Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
more consistent tests
  • Loading branch information
kraih committed Dec 16, 2017
1 parent a6a065a commit 25896bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion t/database.t
Expand Up @@ -134,7 +134,9 @@ isnt $db2->dbh, $dbh, 'new database handle';
undef $results;
my $db3 = $pg->db;
is $db3->dbh, $dbh, 'same database handle';
is $db3->query('select 2')->array->[0], 2, 'right result';
$results = $db3->query('select 2');
is $results->db->dbh, $dbh, 'same database handle';
is $results->array->[0], 2, 'right result';

# Dollar only
$db = $pg->db;
Expand Down

0 comments on commit 25896bf

Please sign in to comment.