Skip to content

Commit 9ea27ad

Browse files
committed
Add test for reducing a Seq with operator =>
This closes RT #130906.
1 parent 59398cd commit 9ea27ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

S03-metaops/reduce.t

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use v6;
22
use Test;
3-
plan 558;
3+
plan 559;
44

55
=begin pod
66
@@ -148,6 +148,9 @@ L<"http://groups.google.de/group/perl.perl6.language/msg/bd9eb275d5da2eda">
148148
is (try {$list.value.value}), 3, "[=>] works (3)";
149149
}
150150

151+
# RT #130906
152+
is-deeply ([=>] (1, 2).Seq), (1 => 2), "[=>] works on Seq";
153+
151154
{
152155
my @array = <5 -3 7 0 1 -9>;
153156
# according to http://irclog.perlgeek.de/perl6/2008-09-10#i_560910

0 commit comments

Comments
 (0)