mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Added missing test with leading backslash
This commit is contained in:
parent
008c3b80d6
commit
d9ab964ff9
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ class Filesystem extends \PHPUnit_Framework_TestCase {
|
|||
$this->assertEquals('/', \OC\Files\Filesystem::normalizePath('\\', false));
|
||||
$this->assertEquals('/', \OC\Files\Filesystem::normalizePath('\\\\'));
|
||||
$this->assertEquals('/', \OC\Files\Filesystem::normalizePath('\\\\', false));
|
||||
$this->assertEquals('/path', \OC\Files\Filesystem::normalizePath('\\path'));
|
||||
$this->assertEquals('/path', \OC\Files\Filesystem::normalizePath('\\path', false));
|
||||
$this->assertEquals('/path', \OC\Files\Filesystem::normalizePath('\\path\\'));
|
||||
$this->assertEquals('/path/', \OC\Files\Filesystem::normalizePath('\\path\\', false));
|
||||
$this->assertEquals('/foo/bar', \OC\Files\Filesystem::normalizePath('\\foo\\\\bar\\'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue