1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 09:37:57 +01:00
parallel/test/Worker/TaskErrorTest.php
2018-10-07 10:15:50 -05:00

17 lines
365 B
PHP

<?php
namespace Amp\Parallel\Test\Worker;
use Amp\Parallel\Worker\TaskError;
use Amp\PHPUnit\TestCase;
class TaskErrorTest extends TestCase
{
public function testGetWorkerTrace()
{
$taskError = new TaskError('name', 'error_message', 'error_message_trace');
$this->assertSame('error_message_trace', $taskError->getWorkerTrace());
}
}