Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't be overspecific on parsefail error
  • Loading branch information
TimToady committed Feb 24, 2015
1 parent 5fec139 commit 9394e7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S02-lexical-conventions/one-pass-parsing.t
Expand Up @@ -12,8 +12,7 @@ lives_ok { EVAL 'regex { <[ } > ]> }; 1' },
{
lives_ok { EVAL 'sub if() { "#foo" }; say if();' },
"Can call sub if()";
throws_like { EVAL 'sub if() { "#foo" }; say if;' },
X::Obsolete,
dies_ok { EVAL 'sub if() { "#foo" }; say if;' },
"Calling sub if without parens parsefails due to no-arg say";
}

Expand Down

0 comments on commit 9394e7e

Please sign in to comment.