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.
boundary/internal/db/schema/export_test.go

19 lines
358 B

package schema
import (
"testing"
"github.com/hashicorp/boundary/internal/db/schema/internal/edition"
)
const NilVersion = nilVersion
// TestClearEditions is a test helper to reset the editions map.
func TestClearEditions(t *testing.T) {
t.Helper()
editions.Lock()
defer editions.Unlock()
editions.m = make(map[edition.Dialect]edition.Editions)
}