This commit is contained in:
azjezz 2020-08-18 04:52:13 +01:00
parent e2e4812161
commit cbcf25614b
4 changed files with 6 additions and 6 deletions

View File

@ -4,8 +4,8 @@ declare(strict_types=1);
namespace Psl\Tests\Iter;
use Psl\Iter;
use PHPUnit\Framework\TestCase;
use Psl\Iter;
class IsIterableTest extends TestCase
{
@ -26,6 +26,6 @@ class IsIterableTest extends TestCase
yield [Iter\to_iterator([1, 2]), true];
yield [$this, false];
yield [STDIN, false];
yield [(fn() => yield false)(), true];
yield [(fn () => yield false)(), true];
}
}

View File

@ -5,8 +5,8 @@ declare(strict_types=1);
namespace Psl\Tests\Iter;
use PHPUnit\Framework\TestCase;
use Psl\Iter;
use Psl\Collection;
use Psl\Iter;
class ToArrayWithKeysTest extends TestCase
{

View File

@ -4,8 +4,8 @@ declare(strict_types=1);
namespace Psl\Tests\Iter;
use Psl\Iter;
use PHPUnit\Framework\TestCase;
use Psl\Iter;
class ToIteratorTest extends TestCase
{

View File

@ -4,9 +4,9 @@ declare(strict_types=1);
namespace Psl\Tests\Iter;
use Psl\Iter;
use Psl\Collection;
use PHPUnit\Framework\TestCase;
use Psl\Collection;
use Psl\Iter;
class ValuesTest extends TestCase
{