Permalink
Browse files

finished DBD::Mock::Session

  • Loading branch information...
1 parent a8f4083 commit 4d057df5da3caf24d04e5544e54c24022b386316 @bluescreen10 committed Nov 4, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/DBD/Mock/Session.pm
View
@@ -43,14 +43,11 @@ sub _verify_state {
sub _verify_states {
my ( $class, $name, @states ) = @_;
- my $index = 0;
-
die "You must specify at least one session state"
if scalar @states == 0;
for ( 0 .. scalar @states - 1 ) {
$class->_verify_state( $states[$_], $_, $name );
- $index++;
}
}
@@ -187,7 +184,6 @@ sub _verify_bound_param {
. " got: $got\n"
. " expected: $expected";
}
-
}
1;

0 comments on commit 4d057df

Please sign in to comment.