You are here

public function vfsStreamGlobTestCase::globDoesNotWorkWithVfsStreamUrls in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamGlobTestCase.php \org\bovigo\vfs\vfsStreamGlobTestCase::globDoesNotWorkWithVfsStreamUrls()

@test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamGlobTestCase.php, line 22

Class

vfsStreamGlobTestCase
Test for org\bovigo\vfs\vfsStream.

Namespace

org\bovigo\vfs

Code

public function globDoesNotWorkWithVfsStreamUrls() {
  $root = vfsStream::setup('example');
  mkdir(vfsStream::url('example/test/'), 0777, true);
  $this
    ->assertEmpty(glob(vfsStream::url('example'), GLOB_MARK));
}