aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit/algorithms.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testgit/algorithms.go')
-rw-r--r--internal/testgit/algorithms.go18
1 files changed, 0 insertions, 18 deletions
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)
- })
- }
-}