aboutsummaryrefslogtreecommitdiff
path: root/object/blob_parse_test.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-02-20 22:52:58 +0800
committerGravatar Runxi Yu2026-02-20 22:52:58 +0800
commitf49c95662bda1f2c337dbe872644afa1ca5cbbec (patch)
tree502b399c86f0093b50ad5fc80b73f75f4c614733 /object/blob_parse_test.go
parentconfig: Import from the previous version and fix test harnesses (diff)
signatureNo signature
objectid: Rename from oid
Diffstat (limited to 'object/blob_parse_test.go')
-rw-r--r--object/blob_parse_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/object/blob_parse_test.go b/object/blob_parse_test.go
index 02c059ca..ad0f7ef3 100644
--- a/object/blob_parse_test.go
+++ b/object/blob_parse_test.go
@@ -6,11 +6,11 @@ import (
"codeberg.org/lindenii/furgit/internal/testgit"
"codeberg.org/lindenii/furgit/object"
- "codeberg.org/lindenii/furgit/oid"
+ "codeberg.org/lindenii/furgit/objectid"
)
func TestBlobParseFromGit(t *testing.T) {
- testgit.ForEachAlgorithm(t, func(t *testing.T, algo oid.Algorithm) {
+ testgit.ForEachAlgorithm(t, func(t *testing.T, algo objectid.Algorithm) {
repo := testgit.NewBareRepo(t, algo)
body := []byte("hello\nblob\n")
blobID := repo.HashObject(t, "blob", body)