Skip to content

Commit

Permalink
Add test for RT #126859
Browse files Browse the repository at this point in the history
  • Loading branch information
smls committed Feb 5, 2017
1 parent 93e8dc5 commit 874acb1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-list/sort.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 33;
plan 34;

# L<S32::Containers/"List"/"=item sort">

Expand Down Expand Up @@ -219,4 +219,7 @@ plan 33;
# RT #126921
is (<2 1 3> .sort).^name, 'Seq', 'detached .sort returns a List';

# RT #126859
is (*.sort)(<2 3 1>).^name, 'Seq', 'auto-primed *.sort returns a Seq';

# vim: ft=perl6

0 comments on commit 874acb1

Please sign in to comment.