Skip to content

Commit

Permalink
Test for RT #99854
Browse files Browse the repository at this point in the history
  • Loading branch information
Tadeusz Sośnierz committed Sep 23, 2011
1 parent 28d220d commit 762eb26
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions S02-types/hash.t
Expand Up @@ -272,6 +272,13 @@ lives_ok { Hash.new("a" => "b") }, 'Hash.new($pair) lives';
# RT #75694
eval_lives_ok('my $rt75694 = { has-b => 42 }', "can have a bareword key starting with 'has-' in a hash");

# RT #99854
#?rakudo todo 'RT 99854'
{
eval_lives_ok 'my $rt = { grammar => 5 }',
"can have a bareword 'grammar' as a hash key";
}

done;

# vim: ft=perl6

0 comments on commit 762eb26

Please sign in to comment.