docs: fix grammar issues in comments (#2352)

This commit is contained in:
Oleksandr Redko 2021-11-11 06:56:36 +02:00 committed by GitHub
parent ecbb9c475f
commit 99c6516c6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 30 additions and 30 deletions

View file

@ -233,7 +233,7 @@ func TestCacheTrim(t *testing.T) {
t.Fatalf("second trim did work: %q -> %q", data, data2)
}
// Fast forward and do another trim just before the 5 day cutoff.
// Fast-forward and do another trim just before the 5-day cutoff.
// Note that because of usedQuantum the cutoff is actually 5 days + 1 hour.
// We used c.Get(id) just now, so 5 days later it should still be kept.
// On the other hand almost a full day has gone by since we wrote dummyID(2)