You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/internal/controller/cache/index/errors_test.go

17 lines
333 B

// 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"},
})
}