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

Commit

Permalink
Merge pull request #49 from mjhenkes/fix_test_problem
Browse files Browse the repository at this point in the history
Tiny fix to tests.
  • Loading branch information
sokra authored Oct 2, 2017
2 parents 67cec91 + 73fb6ec commit 7ae73eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/MemoryFileSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ describe("pathToArray", function() {
fs.pathToArray("C:\\a\\b").should.be.eql(["C:", "a", "b"]);
});
it("should fail on invalid paths", function() {
var fs = new MemoryFileSystem();
(function() {
fs.pathToArray("0:/");
}).should.throw();
Expand Down

0 comments on commit 7ae73eb

Please sign in to comment.