Skip to content
Browse files

[t/spec] test for RT #76198, {;} should be a Block

git-svn-id: http://svn.pugscode.org/pugs@31487 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 3da5e46 commit d66c0c58a60f0827b147ffa117b9aa53f8375070 moritz committed Jun 28, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 S06-other/anon-hashes-vs-blocks.t
View
1 S06-other/anon-hashes-vs-blocks.t
@@ -45,6 +45,7 @@ ok $bar ~~ Hash, '%foo in a block causes hash composing';
ok { $^a => 'b' } ~~ Block, '... as a key';
ok { a => $^x } ~~ Block, '... as a value';
ok { b => 3, a => $^x, 4 => 5 } ~~ Block, '... somewhere deep inside';
+ ok {;} ~~ Block, '{;} is a Block';
}
done_testing;

0 comments on commit d66c0c5

Please sign in to comment.
Something went wrong with that request. Please try again.