1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-12 09:09:35 +01:00
parallel/test/Worker/TaskErrorTest.php
2019-08-27 12:17:41 -05:00

17 lines
375 B
PHP

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