From a041d523de389b65b98a5373a8034041db2a8d83 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 2 Apr 2026 06:23:30 +0000 Subject: *: Remove --- internal/testgit/algorithms.go | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 internal/testgit/algorithms.go (limited to 'internal/testgit/algorithms.go') diff --git a/internal/testgit/algorithms.go b/internal/testgit/algorithms.go deleted file mode 100644 index aea4dc12..00000000 --- a/internal/testgit/algorithms.go +++ /dev/null @@ -1,18 +0,0 @@ -package testgit - -import ( - "testing" - - objectid "codeberg.org/lindenii/furgit/object/id" -) - -// ForEachAlgorithm runs a subtest for every supported algorithm. -func ForEachAlgorithm(t *testing.T, fn func(t *testing.T, algo objectid.Algorithm)) { - t.Helper() - - for _, algo := range objectid.SupportedAlgorithms() { - t.Run(algo.String(), func(t *testing.T) { - fn(t, algo) - }) - } -} -- cgit v1.3.1-10-gc9f91