public function vfsStreamTestCase::path in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php \org\bovigo\vfs\vfsStreamTestCase::path()
assure that url2path conversion works correct
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamTestCase.php, line 41
Class
- vfsStreamTestCase
- Test for org\bovigo\vfs\vfsStream.
Namespace
org\bovigo\vfsCode
public function path() {
$this
->assertEquals('foo', vfsStream::path('vfs://foo'));
$this
->assertEquals('foo/bar.baz', vfsStream::path('vfs://foo/bar.baz'));
$this
->assertEquals('foo/bar.baz', vfsStream::path('vfs://foo\\bar.baz'));
}