Skip Glob brace test when GLOB_BRACE is unavailable

This commit is contained in:
Wouter J 2019-04-02 21:50:10 +02:00
parent 668f585df4
commit ce38fe3e58
1 changed files with 4 additions and 0 deletions

View File

@ -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();