Skip to content

Commit f97f8f3

Browse files
committed
Test for RT #93988.
1 parent 15e0300 commit f97f8f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

S32-exceptions/misc.t

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use Test;
33
use lib "t/spec/packages";
44
use Test::Util;
55

6-
plan 291;
6+
plan 292;
77

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

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

623+
# RT #93988
624+
throws_like '5.', X::Comp::Group, sorrows => sub (@s) { @s[0] ~~ X::Syntax::Number::IllegalDecimal };
625+
623626
# vim: ft=perl6

0 commit comments

Comments
 (0)