Skip to content

Commit

Permalink
Remove unnecessary "list" and "hash" parameters
Browse files Browse the repository at this point in the history
- these aren't necessary for testing
- these could be considered implementation detail
  • Loading branch information
lizmat committed Jun 18, 2020
1 parent 1b69861 commit 925e482
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions S32-str/split.t
Original file line number Diff line number Diff line change
Expand Up @@ -519,8 +519,7 @@ subtest '.split works on Cool same as it works on Str' => {
plan 11;

my $m = Match.new(
ast => Any, list => (), hash => Map.new(()),
orig => "123", to => 2, from => 1,
ast => Any, orig => "123", to => 2, from => 1,
);

is-eqv 123.split('2', :v), ('1', '2', '3').Seq, ':v; Cool';
Expand Down

0 comments on commit 925e482

Please sign in to comment.