Skip to content

Commit

Permalink
Test .head works correctly with large negative Ints
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Oct 15, 2017
1 parent 76ed460 commit dc74476
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S32-list/head.t
Expand Up @@ -2,7 +2,7 @@ use v6;

use Test;

plan 24;
plan 25;

=begin description
Expand Down Expand Up @@ -67,4 +67,8 @@ This test tests the C<head> builtin.
is $range.head(5).List, (), "Range.head works if empty";
} #3

# RT #130285
is-deeply (4,5,6).head(-999999999999999999999999999), (),
'.head works correctly with large negative Ints';

# vim: ft=perl6

0 comments on commit dc74476

Please sign in to comment.