Skip to content

Commit

Permalink
[v6.d REVIEW] Remove conflicting $# var test
Browse files Browse the repository at this point in the history
It's already tested to throw ::Perl5Var exception; don't
test for ::Obsolete
  • Loading branch information
zoffixznet committed Dec 31, 2017
1 parent ecf8c6d commit 1e22663
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S32-exceptions/misc.t
Expand Up @@ -5,7 +5,7 @@ use lib "t/spec/packages";
use Test;
use Test::Util;

plan 437;
plan 436;

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

Expand Down Expand Up @@ -211,7 +211,6 @@ for '$#' {
throws-like "$_ = 1;", X::Syntax::Perl5Var, "Did $_ throw Perl5Var?";
}

throws-like '$#foo', X::Obsolete;
# RT #122645
lives-ok { EVAL '$@' }, '$@ is no longer a problem';

Expand Down

0 comments on commit 1e22663

Please sign in to comment.