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 /git_test.go | |
| parent | b5ce60925e1e31f83e55a575cbf3b79a6199cfbb (diff) | |
| parent | b82a72a9ce4701a4560288c4ebf1511ffb415b80 (diff) | |
Merge pull request #68 from libgit2/cmn/oid-revamp
Oid revamp
Diffstat (limited to 'git_test.go')
| -rw-r--r-- | git_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/git_test.go b/git_test.go index fff3c6c..6542ca0 100644 --- a/git_test.go +++ b/git_test.go @@ -54,3 +54,11 @@ func seedTestRepo(t *testing.T, repo *Repository) (*Oid, *Oid) { return commitId, treeId } + +func TestOidZero(t *testing.T) { + var zeroId Oid + + if !zeroId.IsZero() { + t.Error("Zero Oid is not zero") + } +} |
