We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b33ad8c commit 9e5ba5eCopy full SHA for 9e5ba5e
1 file changed
test/repo.js
@@ -12,7 +12,7 @@ exports.openInvalidRepo = function(test){
12
13
// Test invalid repository
14
git.Repo.open('repos/nonrepo', function(error, repository) {
15
- test.equals(error.message, "Could not find repository from 'repos/nonrepo'");
+ test.ok(error instanceof Error);
16
test.done();
17
});
18
};
0 commit comments