typos correct

Signed-off-by: kjinan <2008kongxiangsheng@163.com>
pull/8851/head
kjinan 2021-05-20 09:51:45 +08:00
parent ea33dbf80f
commit e1370eecde
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ import (
"github.com/prometheus/prometheus/storage"
)
// Tests the same exemplar cases as AddExemplar, but specfically the ValidateExemplar function so it can be relied on externally.
// Tests the same exemplar cases as AddExemplar, but specifically the ValidateExemplar function so it can be relied on externally.
func TestValidateExemplar(t *testing.T) {
exs, err := NewCircularExemplarStorage(2, nil)
require.NoError(t, err)

View File

@ -217,7 +217,7 @@ func TestIndexRW_Postings(t *testing.T) {
}
require.NoError(t, p.Err())
// The label incides are no longer used, so test them by hand here.
// The label indices are no longer used, so test them by hand here.
labelIndices := map[string][]string{}
require.NoError(t, ReadOffsetTable(ir.b, ir.toc.LabelIndicesTable, func(key []string, off uint64, _ int) error {
if len(key) != 1 {