Skip to content

Commit

Permalink
Tests for RT #126987.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Dec 23, 2015
1 parent 60d1ad6 commit a4ace08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S32-exceptions/misc.t
Expand Up @@ -3,7 +3,7 @@ use Test;
use lib "t/spec/packages";
use Test::Util;

plan 387;
plan 389;

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

Expand Down Expand Up @@ -825,4 +825,8 @@ throws-like 'my Int $a is default(Nil)',
is c(), 3, "failure binding at end of block doesn't blow up with or without modifier if";
}

# RT #126987
throws-like 'enum Animal (Cat, Dog)', X::Undeclared::Symbols;
throws-like 'constant foo = bar', X::Undeclared::Symbols;

# vim: ft=perl6

0 comments on commit a4ace08

Please sign in to comment.