public function FinderTest::testRemoveTrailingSlash in Database Sanitize 7
File
- vendor/
symfony/ finder/ Tests/ FinderTest.php, line 49
Class
Namespace
Symfony\Component\Finder\TestsCode
public function testRemoveTrailingSlash() {
$finder = $this
->buildFinder();
$expected = $this
->toAbsolute(array(
'foo/bar.tmp',
'test.php',
'test.py',
'foo bar',
));
$in = self::$tmpDir . '//';
$this
->assertIterator($expected, $finder
->in($in)
->files()
->getIterator());
}