Skip to content

Commit

Permalink
Can use ints over 64-bit in .tail
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Oct 15, 2017
1 parent 8788989 commit 76ed460
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S32-list/tail.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 25;
plan 26;

=begin description
Expand Down Expand Up @@ -101,4 +101,7 @@ subtest 'tail makes use .count-only when it is implemented' => {
is-deeply $pulled, 0|1, 'we did not pull (or pulled just one';
}

# RT #130285
is-deeply (4,5,6,7).tail(-2**100), (), 'can use ints over 64-bit in .tail';

# vim: ft=perl6

0 comments on commit 76ed460

Please sign in to comment.