Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.

Commit 83e1ffc

Browse files
committed
test: add test for joining paths with different DS (fixes #26)
1 parent 1880511 commit 83e1ffc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/MemoryFileSystem.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ describe("join", function() {
348348
fs.join("C:", "a/b").should.be.eql("C:\\a\\b");
349349
fs.join("C:\\", "a/b").should.be.eql("C:\\a\\b");
350350
fs.join("C:\\", "a\\b").should.be.eql("C:\\a\\b");
351+
fs.join("C:/a/b", "./../c/d").should.be.eql("C:\\a\\c\\d");
352+
fs.join("C:\\a\\b", "./../c/d").should.be.eql("C:\\a\\c\\d");
351353
});
352354
it("should join paths (weird cases)", function() {
353355
var fs = new MemoryFileSystem();

0 commit comments

Comments
 (0)