diff options
| -rw-r--r-- | challenge-119/james-smith/perl/ch-2.pl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/challenge-119/james-smith/perl/ch-2.pl b/challenge-119/james-smith/perl/ch-2.pl index a99e0de0a5..e23549d1df 100644 --- a/challenge-119/james-smith/perl/ch-2.pl +++ b/challenge-119/james-smith/perl/ch-2.pl @@ -16,11 +16,10 @@ is( no_11_array( $_->[0] ), $_->[1] ) foreach @TESTS; is( no_11_object( $_->[0] ), $_->[1] ) foreach @TESTS; cmpthese(10_000,{ - 'filter' => sub { no_11_filter($_->[0]) foreach @TESTS; }, - 'filter' => sub { no_11_filter($_->[0]) foreach @TESTS; }, - 'object' => sub { no_11_object($_->[0]) foreach @TESTS; }, - 'regex' => sub { no_11_filter_regex($_->[0]) foreach @TESTS; }, - 'array' => sub { no_11_array( $_->[0]) foreach @TESTS; }, + 'filter' => sub { no_11_filter( $_->[0] ) foreach @TESTS; }, + 'regex' => sub { no_11_filter_regex( $_->[0] ) foreach @TESTS; }, + 'object' => sub { no_11_object( $_->[0] ) foreach @TESTS; }, + 'array' => sub { no_11_array( $_->[0] ) foreach @TESTS; }, }); done_testing(); |
