Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Windows: add test for path.normalize with UNC paths
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed May 13, 2012
1 parent d91004a commit a475e62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/simple/test-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit a475e62

Please sign in to comment.