MCPcopy Create free account
hub / github.com/sqlc-dev/sqlc / TestAlias

Function TestAlias

internal/config/convert/convert_test.go:38–47  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

36}
37
38func TestAlias(t *testing.T) {
39 var a config
40 err := yaml.Unmarshal([]byte(anchor), &a)
41 if err != nil {
42 t.Fatal(err)
43 }
44 if _, err := gen(&a.SQL); err != nil {
45 t.Fatal(err)
46 }
47}

Callers

nothing calls this directly

Calls 1

genFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…