Changeset 10423

Show
Ignore:
Timestamp:
05/25/06 05:16:00 (3 years ago)
Author:
scw
svk:copy_cache_prev:
13602
Message:

Pugs::Grammar::MiniPerl?6 test updated for cooperation with ratchet later

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • misc/pX/Common/Pugs-Grammar-MiniPerl6/t/basic.t

    r10260 r10423  
    33use Test::More tests => 6; 
    44use Pugs::Grammar::MiniPerl6; 
     5use Pugs::Runtime::Match::Ratchet; 
    56 
    67sub is_production_match { 
    78    my ($input, $output, @arg) = @_; 
    8     @_ = (Pugs::Grammar::MiniPerl6->ProductionRule($input)->(), 
    9           $output, @arg); 
    10     print "$_[0]\n"; 
     9    my $got = Pugs::Grammar::MiniPerl6->ProductionRule($input); 
     10    @_ = ("$got", $output, @arg); 
    1111    goto \&is; 
    1212}