Changeset 10423
- Timestamp:
- 05/25/06 05:16:00 (3 years ago)
- svk:copy_cache_prev:
- 13602
- Files:
-
- 1 modified
-
misc/pX/Common/Pugs-Grammar-MiniPerl6/t/basic.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
misc/pX/Common/Pugs-Grammar-MiniPerl6/t/basic.t
r10260 r10423 3 3 use Test::More tests => 6; 4 4 use Pugs::Grammar::MiniPerl6; 5 use Pugs::Runtime::Match::Ratchet; 5 6 6 7 sub is_production_match { 7 8 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); 11 11 goto \&is; 12 12 }
