Permalink
Browse files

execute_array(): diag any errors in test

  • Loading branch information...
1 parent c51ed6e commit 9c5a03a57ddd89d32cbe3071b6b5361058354d93 @chiselwright committed Sep 27, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 t/030_st_execute_array.t
View
@@ -27,7 +27,8 @@ my $sql = 'INSERT INTO staff (first_name, last_name, dept) VALUES(?, ?, ?)';
eval {
$sth->execute_array( { ArrayTupleStatus => \my @tuple_status } );
};
- ok( ! $@, 'Called execute_array() ok' );
+ ok( ! $@, 'Called execute_array() ok' )
+ or diag $@;
}
done_testing;

0 comments on commit 9c5a03a

Please sign in to comment.