summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-08-17 01:22:26 +0200
committerRobin Appelman <icewind@owncloud.com>2012-08-17 01:22:54 +0200
commit53a888cc8130a81961dece245b35a226be4d67ab (patch)
treef5b709bb728ad16c1f68baa4cd64807f3f269b02 /tests
parent70e8a7e25c40834830b0237f279d15f82dcd2a9e (diff)
downloadnextcloud-server-53a888cc8130a81961dece245b35a226be4d67ab.tar.gz
nextcloud-server-53a888cc8130a81961dece245b35a226be4d67ab.zip
more path normalization
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/filesystem.php1
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/'));