Skip to content

Commit

Permalink
Add test for RT #126888
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Dec 31, 2015
1 parent f153dc5 commit b0c17ab
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 389;
plan 390;

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

Expand Down Expand Up @@ -829,4 +829,7 @@ throws-like 'my Int $a is default(Nil)',
throws-like 'enum Animal (Cat, Dog)', X::Undeclared::Symbols;
throws-like 'constant foo = bar', X::Undeclared::Symbols;

# RT #126888
throws-like '(1,2)[0] := 3', X::Bind;

# vim: ft=perl6

0 comments on commit b0c17ab

Please sign in to comment.