Skip to content

Commit d08120f

Browse files
committed
Updated raw-revwalk test
1 parent c00bc47 commit d08120f

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

test/raw-revwalk.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,18 @@ var helper = {
2525
}
2626
};
2727

28-
// RevWalk
28+
/**
29+
* RevWalk
30+
*/
2931
exports.constructor = function(test){
3032
test.expect(3);
3133

3234
// Test for function
3335
helper.testFunction(test.equals, git.RevWalk, 'RevWalk');
3436

3537
// Ensure we get an instance of Oid
36-
testRepo.open( './dummyrepo/.git', function(error, path) {
37-
test.ok(new git.RevWalk(testRepo) instanceof git.RevWalk, 'Invocation returns an instance of RevWalk');
38-
38+
testRepo.open('../.git', function(error, repository) {
39+
test.ok(new git.RevWalk(repository) instanceof git.RevWalk, 'Invocation returns an instance of RevWalk');
3940
test.done();
4041
});
4142
};

0 commit comments

Comments
 (0)