Permalink
Browse files

Actually call the Git2.Repository constructor, fixes #7, plobsing++

  • Loading branch information...
1 parent d09f610 commit 0f44d934d5b9e35761b2a0a33ac2b78fe7eefd9e @leto leto committed Oct 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 t/winxed/001_load.t
View
4 t/winxed/001_load.t
@@ -40,7 +40,7 @@ class Test_git2_repository_open {
using Git2.Raw.git_repository_open;
using cstring;
- var repo = new Git2.Repository;
+ var repo = new Git2.Repository();
var rc = git_repository_open(repo.ptr, cstring(".git"));
@@ -54,7 +54,7 @@ class Test_git2_repository_open {
using Git2.Raw.git_repository_index;
using cstring;
- var repo = new Git2.Repository;
+ var repo = new Git2.Repository();
var git_index = new Git2.Index;
var rc = -1;

0 comments on commit 0f44d93

Please sign in to comment.