summaryrefslogtreecommitdiff
path: root/git_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2016-08-27 21:07:44 +0200
committerCarlos Martín Nieto <[email protected]>2016-08-27 21:07:44 +0200
commitaadd0c2035d12b6469c53b7c444ea6fe1006c2c0 (patch)
treefd56478f8014dd41dcba043dc0677930d14c4b06 /git_test.go
parent37d3c2d9ad4c4e970cac02faec8ad184412c34e6 (diff)
parent241aa34d83b210ceaab7029c46e05794f2ea9797 (diff)
Merge remote-tracking branch 'upstream/master' into next
Diffstat (limited to 'git_test.go')
-rw-r--r--git_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/git_test.go b/git_test.go
index 6a58844..807dcc2 100644
--- a/git_test.go
+++ b/git_test.go
@@ -113,6 +113,7 @@ func updateReadme(t *testing.T, repo *Repository, content string) (*Oid, *Oid) {
}
func TestOidZero(t *testing.T) {
+ t.Parallel()
var zeroId Oid
if !zeroId.IsZero() {
@@ -121,6 +122,7 @@ func TestOidZero(t *testing.T) {
}
func TestEmptyOid(t *testing.T) {
+ t.Parallel()
_, err := NewOid("")
if err == nil || !IsErrorCode(err, ErrGeneric) {
t.Fatal("Should have returned invalid error")