Skip to content

Commit

Permalink
Test for RT #125335.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 29, 2015
1 parent 35619ce commit 9c05ca0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-exceptions/misc.t
Original file line number Diff line number Diff line change
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 @@ -685,4 +685,7 @@ throws-like 'my class C { our method foo { say "OMG" }; our method foo { say "WT
throws-like 'my grammar G { my token foo { OMG }; my token foo { WTF } }', X::Redeclaration;
throws-like 'my grammar G { our token foo { OMG }; our token foo { WTF } }', X::Redeclaration;

# RT #125335
throws-like 'use fatal; +("\b" x 10)', X::Str::Numeric, source-indicator => /'\b'/;

# vim: ft=perl6

0 comments on commit 9c05ca0

Please sign in to comment.