Skip to content

Commit

Permalink
test: add test for joining paths with different DS (fixes #26)
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Sep 7, 2016
1 parent 1880511 commit 83e1ffc
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 @@ -348,6 +348,8 @@ describe("join", function() {
fs.join("C:", "a/b").should.be.eql("C:\\a\\b");
fs.join("C:\\", "a/b").should.be.eql("C:\\a\\b");
fs.join("C:\\", "a\\b").should.be.eql("C:\\a\\b");
fs.join("C:/a/b", "./../c/d").should.be.eql("C:\\a\\c\\d");
fs.join("C:\\a\\b", "./../c/d").should.be.eql("C:\\a\\c\\d");
});
it("should join paths (weird cases)", function() {
var fs = new MemoryFileSystem();
Expand Down

0 comments on commit 83e1ffc

Please sign in to comment.