consul/internal/controller/cache/index/errors_test.go

17 lines
333 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
package index
import (
"testing"
"github.com/hashicorp/consul/internal/testing/errors"
)
func TestErrorStrings(t *testing.T) {
errors.TestErrorStrings(t, map[string]error{
"MissingRequiredIndex": MissingRequiredIndexError{Name: "fake-index-name"},
})
}