public function vfsStreamWrapperDirSeparatorTestCase::directoryExitsTestUsingTrailingWinDirSeparator in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamWrapperDirSeparatorTestCase.php \org\bovigo\vfs\vfsStreamWrapperDirSeparatorTestCase::directoryExitsTestUsingTrailingWinDirSeparator()
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamWrapperDirSeparatorTestCase.php, line 60
Class
- vfsStreamWrapperDirSeparatorTestCase
- Test that using windows directory separator works correct.
Namespace
org\bovigo\vfsCode
public function directoryExitsTestUsingTrailingWinDirSeparator() {
$structure = array(
'dir' => array(
'bar' => array(),
),
);
vfsStream::create($structure, $this->root);
$this
->assertTrue(file_exists(vfsStream::url('root/') . 'dir\\'));
}