You are here

public function vfsStreamWrapperDirSeparatorTestCase::directoryExitsTestUsingTrailingWinDirSeparator in Zircon Profile 8

Same name and namespace in other branches
  1. 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\vfs

Code

public function directoryExitsTestUsingTrailingWinDirSeparator() {
  $structure = array(
    'dir' => array(
      'bar' => array(),
    ),
  );
  vfsStream::create($structure, $this->root);
  $this
    ->assertTrue(file_exists(vfsStream::url('root/') . 'dir\\'));
}