1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-26 20:04:51 +01:00
byte-stream/test/PendingReadErrorTest.php
2018-10-03 17:37:23 +02:00

15 lines
271 B
PHP

<?php
namespace Amp\ByteStream\Test;
use Amp\ByteStream\PendingReadError;
use Amp\PHPUnit\TestCase;
class PendingReadErrorTest extends TestCase
{
public function testDefaultErrorCode()
{
$this->assertSame(0, (new PendingReadError)->getCode());
}
}