diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-03-19 07:20:45 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-03-19 07:20:45 +0100 |
| commit | 3274d477c9a020a43837ea793d5bfa275eb954d4 (patch) | |
| tree | 6c0e7d4189ef96ecb523d106e81cc50ddf2241fd /odb_test.go | |
| parent | b5ce60925e1e31f83e55a575cbf3b79a6199cfbb (diff) | |
| parent | b82a72a9ce4701a4560288c4ebf1511ffb415b80 (diff) | |
Merge pull request #68 from libgit2/cmn/oid-revamp
Oid revamp
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 +} |
