Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add test for RT #114274
  • Loading branch information
coke committed Jul 9, 2015
1 parent aaf36de commit cf0d490
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 318;
plan 319;

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

Expand Down Expand Up @@ -686,4 +686,7 @@ throws-like 'use fatal; +("\b" x 10)', X::Str::Numeric, source-indicator => /'\b
# RT #125574
throws-like 'my class A { ... }; my class A is repr("Uninstantiable") { }', X::TooLateForREPR;

# RT #114274
throws-like 'gather { return 1}', X::ControlFlow::Return;

# vim: ft=perl6

0 comments on commit cf0d490

Please sign in to comment.