From 94482cb2c97aa215f83940643c5d4c0933727dcb Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 21 Feb 2026 13:38:02 +0800 Subject: *: Modernize and lint; add CI --- diff/trees/diff_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'diff/trees') diff --git a/diff/trees/diff_test.go b/diff/trees/diff_test.go index a23fbf1b..2fb8540f 100644 --- a/diff/trees/diff_test.go +++ b/diff/trees/diff_test.go @@ -15,7 +15,8 @@ import ( ) func TestDiffComplexNestedChanges(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 repo := testgit.NewRepo(t, testgit.RepoOptions{ObjectFormat: algo, Bare: false}) writeTestFile(t, filepath.Join(repo.Dir(), "README.md"), "initial readme\n") @@ -98,7 +99,8 @@ func TestDiffComplexNestedChanges(t *testing.T) { } func TestDiffDirectoryAddDeleteDeep(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 repo := testgit.NewRepo(t, testgit.RepoOptions{ObjectFormat: algo, Bare: false}) writeTestFile(t, filepath.Join(repo.Dir(), "old_dir", "old.txt"), "stale directory\n") -- cgit v1.3.1-10-gc9f91