diff options
| author | 2026-02-21 13:38:02 +0800 | |
|---|---|---|
| committer | 2026-02-21 14:28:15 +0800 | |
| commit | 94482cb2c97aa215f83940643c5d4c0933727dcb (patch) | |
| tree | bee22fa113542abd1b863ee251fdcf0f9bd409b5 /diff/trees | |
| parent | diff: Add package-level doc comment (diff) | |
| signature | No signature | |
*: Modernize and lint; add CI v0.1.17
Diffstat (limited to 'diff/trees')
| -rw-r--r-- | diff/trees/diff_test.go | 6 |
1 files changed, 4 insertions, 2 deletions
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") |
