Skip to content

Commit

Permalink
Fix README's example with Generators::choose
Browse files Browse the repository at this point in the history
  • Loading branch information
ilario-pierbattista committed Dec 17, 2021
1 parent ef6a291 commit d3a07e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This test tries to verify that natural numbers from 0 to 1000 are all smaller th

```php
<?php
use Eris\Generator;
use Eris\Generators;

class ReadmeTest extends \PHPUnit\Framework\TestCase
{
Expand All @@ -42,7 +42,7 @@ class ReadmeTest extends \PHPUnit\Framework\TestCase
public function testNaturalNumbersMagnitude()
{
$this->forAll(
Generator\choose(0, 1000)
Generators::choose(0, 1000)
)
->then(function($number) {
$this->assertTrue(
Expand Down

0 comments on commit d3a07e2

Please sign in to comment.