Skip to content

Commit cd15146

Browse files
committed
remove non-spec tests for &make with multiple arguments
1 parent c336a95 commit cd15146

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

S05-grammar/action-stubs.t

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use v6;
22

33
use Test;
44

5-
plan 18;
5+
plan 15;
66

77
# L<S05/Grammars/"and optionally pass an action object">
88

@@ -126,23 +126,4 @@ is $action.calls, 'ab', '... and in the right order';
126126
is $x.ast[1], 2, 'make(Parcel) (2)';
127127
}
128128

129-
# &make with multiple arguments.
130-
{
131-
grammar Grammar::AlsoTrivial {
132-
token TOP { a }
133-
};
134-
135-
class Grammar::AlsoTrivial::A {
136-
method TOP($/) { make 1, 2 }
137-
};
138-
139-
my $x = Grammar::AlsoTrivial.parse: 'a',
140-
actions => Grammar::AlsoTrivial::A.new;
141-
ok $x, 'Trivial grammar parsed';
142-
143-
my ($a, $b) = @($x.ast);
144-
is $a, 1, 'Multi-argument &make (1)';
145-
is $b, 2, 'Multi-argument &make (2)';
146-
}
147-
148129
# vim: ft=perl6

0 commit comments

Comments
 (0)