diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-08-17 01:22:26 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-08-17 01:22:54 +0200 |
commit | 53a888cc8130a81961dece245b35a226be4d67ab (patch) | |
tree | f5b709bb728ad16c1f68baa4cd64807f3f269b02 /tests | |
parent | 70e8a7e25c40834830b0237f279d15f82dcd2a9e (diff) | |
download | nextcloud-server-53a888cc8130a81961dece245b35a226be4d67ab.tar.gz nextcloud-server-53a888cc8130a81961dece245b35a226be4d67ab.zip |
more path normalization
Diffstat (limited to 'tests')
-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/')); |