diff options
Diffstat (limited to 'repo_test.go')
| -rw-r--r-- | repo_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repo_test.go b/repo_test.go index c4a0e059..3e622e37 100644 --- a/repo_test.go +++ b/repo_test.go @@ -17,7 +17,7 @@ func TestRepositoryOpen(t *testing.T) { if repo.rootPath != repoPath { t.Errorf("rootPath: got %q, want %q", repo.rootPath, repoPath) } - hashSize := repo.hashAlgo.size() + hashSize := repo.hashAlgo.Size() if hashSize != 32 && hashSize != 20 { t.Errorf("hashSize: got %d, want 32 (SHA-256) or 20 (SHA-1)", hashSize) } |
