Skip to content

Commit 9e5ba5e

Browse files
committed
Fixes error message.
1 parent b33ad8c commit 9e5ba5e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/repo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ exports.openInvalidRepo = function(test){
1212

1313
// Test invalid repository
1414
git.Repo.open('repos/nonrepo', function(error, repository) {
15-
test.equals(error.message, "Could not find repository from 'repos/nonrepo'");
15+
test.ok(error instanceof Error);
1616
test.done();
1717
});
1818
};

0 commit comments

Comments
 (0)