16 lines
264 B
Go
16 lines
264 B
Go
package schematesting
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
"pgregory.net/rapid"
|
|
)
|
|
|
|
func TestEnumType(t *testing.T) {
|
|
rapid.Check(t, func(t *rapid.T) {
|
|
enumType := EnumType.Draw(t, "enum")
|
|
require.NoError(t, enumType.Validate())
|
|
})
|
|
}
|