18 lines
358 B
Go
18 lines
358 B
Go
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)
|
||
|
|
}
|