vfsStreamGlobTestCase.php in Zircon Profile 8.0
Same filename and directory in other branches
Namespace
org\bovigo\vfsFile
vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamGlobTestCase.phpView source
<?php
/**
* This file is part of vfsStream.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @package org\bovigo\vfs
*/
namespace org\bovigo\vfs;
/**
* Test for org\bovigo\vfs\vfsStream.
*
* @since 0.9.0
* @group issue_2
*/
class vfsStreamGlobTestCase extends \PHPUnit_Framework_TestCase {
/**
* @test
*/
public function globDoesNotWorkWithVfsStreamUrls() {
$root = vfsStream::setup('example');
mkdir(vfsStream::url('example/test/'), 0777, true);
$this
->assertEmpty(glob(vfsStream::url('example'), GLOB_MARK));
}
}
Classes
Name | Description |
---|---|
vfsStreamGlobTestCase | Test for org\bovigo\vfs\vfsStream. |