Author: turnstep
Date: Sun Jan 13 12:00:34 2008
New Revision: 10540

Modified:
   DBD-Pg/trunk/t/03dbmethod.t

Log:
Minor fixes to lii tests.


Modified: DBD-Pg/trunk/t/03dbmethod.t
==============================================================================
--- DBD-Pg/trunk/t/03dbmethod.t (original)
+++ DBD-Pg/trunk/t/03dbmethod.t Sun Jan 13 12:00:34 2008
@@ -77,15 +77,15 @@
 $dbh->rollback();
 
 eval {
-       $dbh->last_insert_id(undef,undef,'dbd_pg_nonexistenttable_test',[]);
+       
$dbh->last_insert_id(undef,undef,'dbd_pg_nonexistenttable_test',undef,[]);
 };
 ok($@, 'DB handle method "last_insert_id" fails when given an arrayref as last 
argument');
 $dbh->rollback();
 
 eval {
-       $dbh->last_insert_id(undef,undef,'dbd_pg_test',{sequence=>''});
+       $dbh->last_insert_id(undef,undef,'dbd_pg_test',undef,{sequence=>''});
 };
-is($@, q{}, 'DB handle method "last_insert_id" fails works given an empty 
sequence argument');
+is($@, q{}, 'DB handle method "last_insert_id" fails when given an empty 
sequence argument');
 $dbh->rollback();
 
 eval {

Reply via email to