Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Windows: add test for path.normalize with UNC paths

  • Loading branch information...
commit a475e62a3e6bcec3be6ff03f1c4bdbf5b188065c 1 parent d91004a
@piscisaureus piscisaureus authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  test/simple/test-path.js
View
2  test/simple/test-path.js
@@ -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');
Please sign in to comment.
Something went wrong with that request. Please try again.