You are here

public function FinderTest::testInWithGlobBrace in Database Sanitize 7

File

vendor/symfony/finder/Tests/FinderTest.php, line 317

Class

FinderTest

Namespace

Symfony\Component\Finder\Tests

Code

public function testInWithGlobBrace() {
  $finder = $this
    ->buildFinder();
  $finder
    ->in(array(
    __DIR__ . '/Fixtures/{A,copy/A}/B/C',
  ))
    ->getIterator();
  $this
    ->assertIterator($this
    ->toAbsoluteFixtures(array(
    'A/B/C/abc.dat',
    'copy/A/B/C/abc.dat.copy',
  )), $finder);
}