diff options
| author | Jesse Ezell <[email protected]> | 2014-03-26 11:18:21 -0700 |
|---|---|---|
| committer | Jesse Ezell <[email protected]> | 2014-03-26 11:18:21 -0700 |
| commit | 85420f2002ae85b2e86b3c37c04e462c1cef462a (patch) | |
| tree | 943fd6fef1b14db9bd6818d4b14243e6d3641b1d /odb_test.go | |
| parent | 8ad5cbc53763ca8e89ede40f91edab80c8def1f1 (diff) | |
| parent | 2811845a1287d949a74b8ed80a5791fd8875002a (diff) | |
Merge branch 'master' of http://github.com/libgit2/git2go into merge
Diffstat (limited to 'odb_test.go')
| -rw-r--r-- | odb_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb_test.go b/odb_test.go index a4f8943..17b3ad2 100644 --- a/odb_test.go +++ b/odb_test.go @@ -27,7 +27,7 @@ func TestOdbStream(t *testing.T) { error = stream.Close() checkFatal(t, error) - expectedId, error := NewOidFromString("30f51a3fba5274d53522d0f19748456974647b4f") + expectedId, error := NewOid("30f51a3fba5274d53522d0f19748456974647b4f") checkFatal(t, error) if stream.Id.Cmp(expectedId) != 0 { t.Fatal("Wrong data written") @@ -59,4 +59,4 @@ Initial commit.`; if oid.Cmp(coid) != 0 { t.Fatal("Hash and write Oids are different") } -}
\ No newline at end of file +} |
