Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
correct and unfudge parse_and_parsefile.t
  • Loading branch information
moritz committed Oct 1, 2011
1 parent 3f79756 commit 84330f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S05-grammar/parse_and_parsefile.t
Expand Up @@ -38,10 +38,9 @@ nok(~A::B.parse("zzz42zzz"), ".parse works with namespaced grammars, no match");
is(~A::B.parse("42"), "42", ".parse works with namespaced grammars, match");

# TODO: Check for a good error message, not just the absence of a bad one.
dies_ok { ::No::Such::Grammar.parse() }, '.parse on missing grammar dies';
eval_dies_ok '::No::Such::Grammar.parse()', '.parse on missing grammar dies';

# RT #71062
#?rakudo skip "RT 71062"
{
grammar Integer { rule TOP { x } };
#?rakudo todo 'RT 71062: dies calling grammar named "Integer"'
Expand Down

0 comments on commit 84330f5

Please sign in to comment.