Skip to content

Commit

Permalink
add test for RT #115284
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Jan 15, 2014
1 parent 7be1983 commit 018d397
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion integration/weird-errors.t
Expand Up @@ -3,7 +3,7 @@ use Test;
BEGIN { @*INC.push: 't/spec/packages' };
use Test::Util;

plan 9;
plan 10;

# this used to segfault in rakudo
#?niecza skip 'todo'
Expand Down Expand Up @@ -58,3 +58,8 @@ lives_ok { Any .= (); CATCH { when X::Method::NotFound {1} } }, 'Typed, non-inte
{
eval_dies_ok('_~*.A', 'weird string that once parsed in rakudo');
}

# RT #115284
{
eval_lives_ok('say(;:[])', 'weird code that used to parsefail rakudo');
}

0 comments on commit 018d397

Please sign in to comment.