aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-12-12 15:38:42 +0800
committerGravatar Runxi Yu2025-12-12 15:38:42 +0800
commitfafbd2f4802df3b858e0e12c3472a4498c20854b (patch)
treeeacbca35401bf8cbc01a6dace869c817e0214c16
parentREADME: Update forge links and issue tracker canonicalization (diff)
signatureNo signature
tests: No need for the "10 errors" limit now. Bring it all on
-rw-r--r--repo_current_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo_current_test.go b/repo_current_test.go
index 1799ad62..b87de060 100644
--- a/repo_current_test.go
+++ b/repo_current_test.go
@@ -43,7 +43,7 @@ func TestCurrentRepoDepthFirstEnumeration(t *testing.T) {
if err != nil {
t.Logf("failed to read object %s: %v", hash, err)
errors++
- if errors > 10 {
+ if errors > 0 {
t.Fatalf("too many errors (%d) reading objects", errors)
}
continue