Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use Test::Util only locally.

  • Loading branch information...
commit 4aa7777e7ddeb4e2653f59347230b2c164f3b3fd 1 parent 741266b
@timo timo authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 S02-types/array.t
View
7 S02-types/array.t
@@ -1,8 +1,6 @@
use v6;
use Test;
-BEGIN { @*INC.push('t/spec/packages/') };
-use Test::Util;
plan 99;
@@ -338,10 +336,9 @@ my @array2 = ("test", 1, Mu);
}
{
+ use lib "t/spec/packages";
+ use Test::Util;
throws_like 'my @a = 1..*; @a[Inf] = "dog"', X::Item, index => Inf, aggregate => 1..*;
-}
-
-{
throws_like 'my @a = 1..*; @a[NaN] = "cat"', X::Item, index => NaN, aggregate => 1..*;
}
Please sign in to comment.
Something went wrong with that request. Please try again.