FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Merge pull request #139 from nodegit/fix-tests · nodegit/nodegit@01cfe65 · GitHub

Repository navigation

Commit 01cfe65

Browse files
committed
Merge pull request #139 from nodegit/fix-tests
Fix and improve testing.
2 parents 341300e + 633ce1c commit 01cfe65

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎.travis.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ language: node_js
22
node_js:
33
- 0.8
44
- 0.10
5-
- 0.11.10
65
git:
7-
depth: 1000
6+
depth: 1
7+
matrix:
8+
fast_finish: true
9+
allow_failures:
10+
- node_js: 0.11

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ nodegit
44
> Node.js libgit2 bindings
55
66
**v0.1.0** [![Build
7-
Status](https://travis-ci.org/tbranyen/nodegit.png)](https://travis-ci.org/tbranyen/nodegit)
7+
Status](https://travis-ci.org/nodegit/nodegit.png)](https://travis-ci.org/nodegit/nodegit)
88

99
Maintained by Tim Branyen [@tbranyen](http://twitter.com/tbranyen), Michael
1010
Robinson [@codeofinterest](http://twitter.com/codeofinterest), and Nick Kallen [@nk](http://twitter.com/nk), with help from

‎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)

Back | FazBrowse Home | New Git URL