Merge pull request #8826 from kjinan/main

typos correct
This commit is contained in:
Julien Pivotto 2021-05-14 12:46:25 +02:00 committed by GitHub
commit 11bcb93100
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2042,7 +2042,7 @@ func TestHeadMintAfterTruncation(t *testing.T) {
require.Equal(t, int64(4000), head.MinTime())
require.Equal(t, int64(4000), head.minValidTime.Load())
// After truncation outside the appendable windown if the actual min time
// After truncation outside the appendable window if the actual min time
// is in the appendable window then we should leave mint at the start of appendable window.
require.NoError(t, head.Truncate(5000))
require.Equal(t, head.appendableMinValidTime(), head.MinTime())