You are here

public function FinderTest::testBackPathNotNormalized in Database Sanitize 7

File

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

Class

FinderTest

Namespace

Symfony\Component\Finder\Tests

Code

public function testBackPathNotNormalized() {
  $finder = $this
    ->buildFinder();
  $expected = $this
    ->toAbsolute(array(
    'foo/../foo/bar.tmp',
  ));
  $in = self::$tmpDir . '/foo/../foo/';
  $this
    ->assertIterator($expected, $finder
    ->in($in)
    ->files()
    ->getIterator());
}