diff --git a/tsdb/exemplar_test.go b/tsdb/exemplar_test.go index cd6983ffb..55e6fd375 100644 --- a/tsdb/exemplar_test.go +++ b/tsdb/exemplar_test.go @@ -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) diff --git a/tsdb/index/index_test.go b/tsdb/index/index_test.go index 255536e6f..0e75d3758 100644 --- a/tsdb/index/index_test.go +++ b/tsdb/index/index_test.go @@ -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 {