diff --git a/test/MemoryFileSystem.js b/test/MemoryFileSystem.js index 5fc4611..df2cec1 100644 --- a/test/MemoryFileSystem.js +++ b/test/MemoryFileSystem.js @@ -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() {