diff options
| author | Carlos MartÃn Nieto <[email protected]> | 2016-08-27 21:03:29 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-08-27 21:03:29 +0200 |
| commit | 241aa34d83b210ceaab7029c46e05794f2ea9797 (patch) | |
| tree | 7e659767de41a1b647f21a2de309c8384003ce5d /reference_test.go | |
| parent | e1467c0641eaf7d3f3c9f5df87b0453747c46ad8 (diff) | |
| parent | e55c00eca7e70e2d02860cda3cdc9169a88ece36 (diff) | |
Merge pull request #336 from libgit2/cmn/test-parallel
Run the tests in parallel
Diffstat (limited to 'reference_test.go')
| -rw-r--r-- | reference_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/reference_test.go b/reference_test.go index 761daf8..b6721e1 100644 --- a/reference_test.go +++ b/reference_test.go @@ -8,6 +8,7 @@ import ( ) func TestRefModification(t *testing.T) { + t.Parallel() repo := createTestRepo(t) defer cleanupTestRepo(t, repo) @@ -53,6 +54,7 @@ func TestRefModification(t *testing.T) { } func TestReferenceIterator(t *testing.T) { + t.Parallel() repo := createTestRepo(t) defer cleanupTestRepo(t, repo) @@ -131,6 +133,7 @@ func TestReferenceIterator(t *testing.T) { } func TestReferenceOwner(t *testing.T) { + t.Parallel() repo := createTestRepo(t) defer cleanupTestRepo(t, repo) @@ -150,6 +153,7 @@ func TestReferenceOwner(t *testing.T) { } func TestUtil(t *testing.T) { + t.Parallel() repo := createTestRepo(t) defer cleanupTestRepo(t, repo) @@ -177,6 +181,7 @@ func TestUtil(t *testing.T) { } func TestIsNote(t *testing.T) { + t.Parallel() repo := createTestRepo(t) defer cleanupTestRepo(t, repo) @@ -210,6 +215,7 @@ func TestIsNote(t *testing.T) { } func TestReferenceIsValidName(t *testing.T) { + t.Parallel() if !ReferenceIsValidName("HEAD") { t.Errorf("HEAD should be a valid reference name") } |
