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

Commit 73fb6ec

Browse files
committed
Fix invalid path test to fail on the invalid path instead of undefined fs.
1 parent 67cec91 commit 73fb6ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/MemoryFileSystem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,7 @@ describe("pathToArray", function() {
369369
fs.pathToArray("C:\\a\\b").should.be.eql(["C:", "a", "b"]);
370370
});
371371
it("should fail on invalid paths", function() {
372+
var fs = new MemoryFileSystem();
372373
(function() {
373374
fs.pathToArray("0:/");
374375
}).should.throw();

0 commit comments

Comments
 (0)