Permalink
Browse files

fix an small bug in DBD::Mock::Session

  • Loading branch information...
1 parent 84beb7e commit a8f4083cb34007d4137896d4ca24a591a3dfefdc @bluescreen10 committed Nov 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/DBD/Mock/Session.pm
View
@@ -130,7 +130,7 @@ sub verify_bound_params {
. " expected: @{$expected}";
}
- for ( 0 .. scalar @{$params} ) {
+ for ( 0 .. scalar @{$params} - 1 ) {
$self->_verify_bound_param( $params->[$_], $expected->[$_], $_ );
}

0 comments on commit a8f4083

Please sign in to comment.