aboutsummaryrefslogtreecommitdiff
path: root/object/commit_parse_test.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-21 13:38:02 +0800
committerGravatar Runxi Yu2026-02-21 14:28:15 +0800
commit94482cb2c97aa215f83940643c5d4c0933727dcb (patch)
treebee22fa113542abd1b863ee251fdcf0f9bd409b5 /object/commit_parse_test.go
parentdiff: Add package-level doc comment (diff)
signatureNo signature
*: Modernize and lint; add CI v0.1.17
Diffstat (limited to 'object/commit_parse_test.go')
-rw-r--r--object/commit_parse_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/object/commit_parse_test.go b/object/commit_parse_test.go
index 77a570af..f01052ac 100644
--- a/object/commit_parse_test.go
+++ b/object/commit_parse_test.go
@@ -10,7 +10,8 @@ import (
)
func TestCommitParseFromGit(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})
_, treeID, commitID := testRepo.MakeCommit(t, "subject\n\nbody")