diff options
| author | 2026-02-21 13:38:02 +0800 | |
|---|---|---|
| committer | 2026-02-21 14:28:15 +0800 | |
| commit | 94482cb2c97aa215f83940643c5d4c0933727dcb (patch) | |
| tree | bee22fa113542abd1b863ee251fdcf0f9bd409b5 /objectstore/loose/read_test.go | |
| parent | diff: Add package-level doc comment (diff) | |
| signature | No signature | |
*: Modernize and lint; add CI v0.1.17
Diffstat (limited to 'objectstore/loose/read_test.go')
| -rw-r--r-- | objectstore/loose/read_test.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/objectstore/loose/read_test.go b/objectstore/loose/read_test.go index d125629a..d8166c9e 100644 --- a/objectstore/loose/read_test.go +++ b/objectstore/loose/read_test.go @@ -14,7 +14,8 @@ import ( ) func TestLooseStoreReadAgainstGit(t *testing.T) { - testgit.ForEachAlgorithm(t, func(t *testing.T, algo objectid.Algorithm) { + t.Parallel() + testgit.ForEachAlgorithm(t, func(t *testing.T, algo objectid.Algorithm) { //nolint:thelper testRepo := testgit.NewRepo(t, testgit.RepoOptions{ObjectFormat: algo, Bare: true}) blobID := testRepo.HashObject(t, "blob", []byte("blob body\n")) _, treeID, commitID := testRepo.MakeCommit(t, "subject\n\nbody") @@ -93,7 +94,8 @@ func TestLooseStoreReadAgainstGit(t *testing.T) { } func TestLooseStoreErrors(t *testing.T) { - testgit.ForEachAlgorithm(t, func(t *testing.T, algo objectid.Algorithm) { + t.Parallel() + testgit.ForEachAlgorithm(t, func(t *testing.T, algo objectid.Algorithm) { //nolint:thelper testRepo := testgit.NewRepo(t, testgit.RepoOptions{ObjectFormat: algo, Bare: true}) store := openLooseStore(t, testRepo.Dir(), algo) @@ -136,6 +138,7 @@ func TestLooseStoreErrors(t *testing.T) { } func TestLooseStoreNewValidation(t *testing.T) { + t.Parallel() root, err := os.OpenRoot(t.TempDir()) if err != nil { t.Fatalf("OpenRoot: %v", err) |
