Skip to content

Commit

Permalink
[v6.d REVIEW] Remove protocol-violating Range Iterator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Jul 28, 2018
1 parent 98fd4c4 commit 91ad3fe
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions S07-iterators/range-iterator.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 108;
plan 103;

{
my $r = (1..5).iterator;
Expand All @@ -13,7 +13,6 @@ plan 108;
is $r.pull-one, 4, '$r.pull-one == 4';
is $r.pull-one, 5, '$r.pull-one == 5';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is done';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is still done';
}

{
Expand All @@ -27,7 +26,6 @@ plan 108;
is $r.pull-one, 1.5, '$r.pull-one == 1.5';
is $r.pull-one, 2.5, '$r.pull-one == 2.5';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is done';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is still done';
}

{
Expand All @@ -41,7 +39,6 @@ plan 108;
is $r.pull-one, 1.5, '$r.pull-one == 1.5';
is $r.pull-one, 2.5, '$r.pull-one == 2.5';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is done';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is still done';
}

{
Expand All @@ -54,7 +51,6 @@ plan 108;
is $r.pull-one, 1.5, '$r.pull-one == 1.5';
is $r.pull-one, 2.5, '$r.pull-one == 2.5';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is done';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is still done';
}

{
Expand Down Expand Up @@ -134,7 +130,6 @@ plan 108;
is $r.pull-one, 'f', '$r.pull-one == f';
is $r.pull-one, 'g', '$r.pull-one == g';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is done';
is $r.pull-one.WHICH, IterationEnd.WHICH, '$r.pull-one is still done';
}

{
Expand Down

0 comments on commit 91ad3fe

Please sign in to comment.