diff options
Diffstat (limited to 'tests/lib/filesystem.php')
-rw-r--r-- | tests/lib/filesystem.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/filesystem.php b/tests/lib/filesystem.php index e041255ec91..72af0835788 100644 --- a/tests/lib/filesystem.php +++ b/tests/lib/filesystem.php @@ -62,6 +62,7 @@ class Test_Filesystem extends UnitTestCase{ public function testNormalize(){ $this->assertEqual('/path',OC_Filesystem::normalizePath('/path/')); + $this->assertEqual('/path/',OC_Filesystem::normalizePath('/path/',false)); $this->assertEqual('/path',OC_Filesystem::normalizePath('path')); $this->assertEqual('/path',OC_Filesystem::normalizePath('\path')); $this->assertEqual('/foo/bar',OC_Filesystem::normalizePath('/foo//bar/')); |