Skip Glob brace test when GLOB_BRACE is unavailable
This commit is contained in:
parent
668f585df4
commit
ce38fe3e58
@ -339,6 +339,10 @@ class FinderTest extends Iterator\RealIteratorTestCase
|
||||
|
||||
public function testInWithGlobBrace()
|
||||
{
|
||||
if (!\defined('GLOB_BRACE')) {
|
||||
$this->markTestSkipped('Glob brace is not supported on this system.');
|
||||
}
|
||||
|
||||
$finder = $this->buildFinder();
|
||||
$finder->in([__DIR__.'/Fixtures/{A,copy/A}/B/C'])->getIterator();
|
||||
|
||||
|
Reference in New Issue
Block a user