Skip to content

Commit

Permalink
Fix a type error in roll.t
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Aug 19, 2015
1 parent 5bb3591 commit 10a78d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S32-list/roll.t
Expand Up @@ -86,8 +86,8 @@ is (0, 1).roll(*).[^10].elems, 10, '.roll(*) returns at least ten elements';
{
ok 1 <= (1..1_000_000).roll() <= 1_000_000, 'no argument roll works';

my @matches := (1..1_000_000).roll(*);
ok (so 1 <= all(@matches[^100]) <= 1_000_000), 'the first 100 elems are in range';
my \matches = (1..1_000_000).roll(*);
ok (so 1 <= all(matches[^100]) <= 1_000_000), 'the first 100 elems are in range';
}

{
Expand Down

0 comments on commit 10a78d9

Please sign in to comment.