mirror of https://github.com/nodejs/node.git
Windows: add test for path.normalize with UNC paths
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