Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test for RT #93988.
  • Loading branch information
jnthn committed Apr 8, 2015
1 parent 15e0300 commit f97f8f3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-exceptions/misc.t
Expand Up @@ -3,7 +3,7 @@ use Test;
use lib "t/spec/packages";
use Test::Util;

plan 291;
plan 292;

throws_like '42 +', X::AdHoc, "missing rhs of infix", message => rx/term/;

Expand Down Expand Up @@ -620,4 +620,7 @@ throws_like 'sub foo($x) { }; foo({ |(1, 2, 3) })', X::Syntax::ArgFlattener;
# RT #71034
throws_like 'my $a = (1, 2, 3); my @a = |$a;', X::Syntax::ArgFlattener;

# RT #93988
throws_like '5.', X::Comp::Group, sorrows => sub (@s) { @s[0] ~~ X::Syntax::Number::IllegalDecimal };

# vim: ft=perl6

0 comments on commit f97f8f3

Please sign in to comment.