Skip to content

Commit

Permalink
Add test for RT #125780
Browse files Browse the repository at this point in the history
  • Loading branch information
usev6 committed Oct 25, 2015
1 parent de87d79 commit a5831ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S32-exceptions/misc.t
Expand Up @@ -3,7 +3,7 @@ use Test;
use lib "t/spec/packages";
use Test::Util;

plan 349;
plan 350;

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

Expand Down Expand Up @@ -119,6 +119,8 @@ throws-like 'my class A { my $!foo }', X::Syntax::Variable::Twigil, twigil => '!
throws-like 'role Breakable { my $!broken = Bool::False; }; class Frobnitz does Breakable {};',
X::Syntax::Variable::Twigil, twigil => '!', scope => 'my';
throws-like 'my $?FILE', X::Syntax::Variable::Twigil, twigil => '?', scope => 'my';
# RT #125780
throws-like 'constant $?FILE = "foo"', X::Comp::NYI;
throws-like 'my $::("foo")', X::Syntax::Variable::IndirectDeclaration;
throws-like '@a', X::Undeclared, symbol => '@a';
# RT #115396
Expand Down

0 comments on commit a5831ca

Please sign in to comment.