Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test for RT #125595.
  • Loading branch information
jnthn committed Jul 15, 2015
1 parent 4c85334 commit e4eb44a
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 319;
plan 320;

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

Expand Down Expand Up @@ -689,4 +689,7 @@ throws-like 'my class A { ... }; my class A is repr("Uninstantiable") { }', X::T
# RT #114274
throws-like 'gather { return 1}', X::ControlFlow::Return;

# RT #125595
throws-like 'loop (my $i = 0; $i <= 5; $i++;) { say $i }', X::Syntax::Malformed, what => 'loop spec';

# vim: ft=perl6

0 comments on commit e4eb44a

Please sign in to comment.