You are here

public function vfsStreamTestCase::pathRemovesTrailingWhitespace in Zircon Profile 8

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

trailing whitespace should be removed

@author Gabriel Birke @test

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamTestCase.php, line 65

Class

vfsStreamTestCase
Test for org\bovigo\vfs\vfsStream.

Namespace

org\bovigo\vfs

Code

public function pathRemovesTrailingWhitespace() {
  $this
    ->assertEquals('foo/bar', vfsStream::path('vfs://foo/bar '));
}