public function testRaceEmpty()
{
try {
Co::wait(Co::race(['A', 'B']));
$this->assertTrue(false);
} catch (AllFailedException $e) {
$this->assertEquals('Co::race() failed.', $e->getMessage());
$this->assertEquals(['A', 'B'], $e->getReasons());
}
}