Browse Source

Windows: add test for path.normalize with UNC paths

v0.8.7-release
Bert Belder 13 years ago
parent
commit
a475e62a3e
  1. 2
      test/simple/test-path.js

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');

Loading…
Cancel
Save