mirror of
https://github.com/danog/byte-stream.git
synced 2024-11-26 20:04:51 +01:00
15 lines
271 B
PHP
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());
|
|
}
|
|
}
|