Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Test for RT #125574.
  • Loading branch information
jnthn committed Jul 9, 2015
1 parent 4405592 commit 87560fd
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 317;
plan 318;

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

Expand Down Expand Up @@ -683,4 +683,7 @@ throws-like 'my grammar G { our token foo { OMG }; our token foo { WTF } }', X::
# RT #125335
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;

# vim: ft=perl6

0 comments on commit 87560fd

Please sign in to comment.