1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 09:37:57 +01:00
parallel/test/Sync/ExitSuccessTest.php
Aaron Piotrowski b654463339
Fix code style
2018-10-07 09:50:45 -05:00

17 lines
315 B
PHP

<?php
namespace Amp\Parallel\Test\Sync;
use Amp\Parallel\Sync\ExitSuccess;
use Amp\PHPUnit\TestCase;
class ExitSuccessTest extends TestCase
{
public function testGetResult()
{
$value = 1;
$result = new ExitSuccess($value);
$this->assertSame($value, $result->getResult());
}
}