diff options
| author | 2026-01-17 23:00:14 +0800 | |
|---|---|---|
| committer | 2026-01-17 23:00:14 +0800 | |
| commit | 90b5f779080272d5c6ef39e0c93d8592840a53b7 (patch) | |
| tree | a954e45ec18d8a8dac49c8a3a60eae19a4c4f65e /hash_test.go | |
| parent | hash: Key by algorithm, not size (diff) | |
| signature | No signature | |
repo: Drop hashSize and use hashAlgo.size()
Diffstat (limited to 'hash_test.go')
| -rw-r--r-- | hash_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hash_test.go b/hash_test.go index dab1d49e..dcbd7027 100644 --- a/hash_test.go +++ b/hash_test.go @@ -18,7 +18,7 @@ func TestHashParse(t *testing.T) { var validHash string var expectedSize int - if repo.hashSize == 32 { + if repo.hashAlgo.size() == 32 { validHash = "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef" expectedSize = 32 } else { |
