package spectest
import "ariga.io/atlas/sql/internal/spectest"
Index ¶
- func RegistrySanityTest(t *testing.T, registry *schemahcl.TypeRegistry, skip []string)
- func TestInputVars(t *testing.T, evaluator schemahcl.Evaluator)
Functions ¶
func RegistrySanityTest ¶
func RegistrySanityTest(t *testing.T, registry *schemahcl.TypeRegistry, skip []string)
RegistrySanityTest runs a sanity for a TypeRegistry, generated a dummy *schemahcl.Type then converting it to a schema.Type and back to a *schemahcl.Type.
func TestInputVars ¶
TestInputVars runs a test verifying that the driver's exposed Eval function uses input variables properly.
Source Files ¶
spectest.go
- Version
- v0.33.1 (latest)
- Published
- May 14, 2025
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 month ago –
Tools for package owners.