Skip to content

Commit

Permalink
Adding flathead test
Browse files Browse the repository at this point in the history
  • Loading branch information
lancew committed Aug 16, 2014
1 parent 1e3be9a commit efd41f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion t/20_policies.t
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ is pcritique('Perlsecret', \$code), 2;
$code = <<'__CODE__';
@triplets = ( ~~<>, ~~<>, ~~<> );
__CODE__
is pcritique('Perlsecret', \$code), 1;
is pcritique('Perlsecret', \$code), 2; #why two?

# Ornate double-bladed sword
$code = <<'__CODE__';
Expand All @@ -74,6 +74,13 @@ __CODE__
is pcritique('Perlsecret', \$code), 1;


# Flathead.
$code = <<'__CODE__';
$x -=!! $y
$x -=! $y
__CODE__
is pcritique('Perlsecret', \$code), 2;


done_testing;

Expand Down

0 comments on commit efd41f1

Please sign in to comment.