Skip to content

Commit

Permalink
test: Add missing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jun 20, 2021
1 parent 43806dd commit 997efd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/loophp/collection/CollectionSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -3344,6 +3344,10 @@ public function it_can_when(): void

public function it_can_window(): void
{
$this::fromIterable(range('a', 'z'))
->window(0)
->shouldIterateAs(range('a', 'z'));

$this::fromIterable(range('a', 'z'))
->window(2)
->shouldIterateAs([
Expand Down

0 comments on commit 997efd9

Please sign in to comment.