Skip to content

Commit

Permalink
test: add test cases for UNC paths
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Sep 7, 2016
1 parent a1204c0 commit 4070531
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/MemoryFileSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ describe("normalize", function() {
fs.normalize("C:\\a\\b\\\c\\..\\..").should.be.eql("C:\\a");
fs.normalize("C:\\a\\b\\d\\..\\c\\..\\..").should.be.eql("C:\\a");
fs.normalize("C:\\a\\b\\d\\\\.\\\\.\\c\\.\\..").should.be.eql("C:\\a\\b\\d");
fs.normalize("\\\\a\\\\b").should.be.eql("\\\\a\\b");
fs.normalize("\\\\a\\\\b\\..\\c").should.be.eql("\\\\a\\c");
});
});
describe("pathToArray", function() {
Expand Down

0 comments on commit 4070531

Please sign in to comment.