Skip to content

Commit

Permalink
[pge] Fix another test
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.parrot.org/parrot/branches/tt389_fix@43526 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information
tene committed Jan 21, 2010
1 parent 4dfbcf2 commit d9edfcc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions t/compilers/pge/06-grammar.t
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ EOF_SIMPLE_GRAMMAR
.local string target
target = shift targets

ok = '_match_expr'( parser, target )
ok = '_match_expr'( parser, target, test_name )
test.'ok'( ok, description )
$I0 = targets
if $I0 goto next_target
Expand All @@ -173,6 +173,7 @@ EOF_SIMPLE_GRAMMAR
.sub '_match_expr'
.param pmc parser
.param string expr
.param string grammar

.local int ok
.local string result, test_name, test_num_str
Expand All @@ -183,7 +184,7 @@ EOF_SIMPLE_GRAMMAR
load_bytecode 'PGE/Perl6Grammar.pbc'

ok = 1
match = parser(expr)
match = parser(expr, 'grammar' => grammar)
result = match

if result == expr goto match_ok
Expand Down

0 comments on commit d9edfcc

Please sign in to comment.