mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
Windows: add test for path.normalize with UNC paths
This commit is contained in:
parent
d91004a73d
commit
a475e62a3e
@ -197,6 +197,8 @@ if (isWindows) {
|
||||
assert.equal(path.normalize('a//b//../b'), 'a\\b');
|
||||
assert.equal(path.normalize('a//b//./c'), 'a\\b\\c');
|
||||
assert.equal(path.normalize('a//b//.'), 'a\\b');
|
||||
assert.equal(path.normalize('//server/share/dir/file.ext'),
|
||||
'\\\\server\\share\\dir\\file.ext');
|
||||
} else {
|
||||
assert.equal(path.normalize('./fixtures///b/../b/c.js'),
|
||||
'fixtures/b/c.js');
|
||||
|
Loading…
Reference in New Issue
Block a user