1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-30 04:19:23 +01:00
byte-stream/test/PendingReadErrorTest.php

15 lines
271 B
PHP
Raw Permalink Normal View History

2018-09-23 21:30:08 +02:00
<?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());
}
}