mirror of
https://github.com/danog/parallel.git
synced 2024-12-02 09:37:57 +01:00
17 lines
365 B
PHP
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());
|
|
}
|
|
}
|