mirror of https://github.com/hashicorp/consul
17 lines
333 B
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"},
|
|
})
|
|
}
|