MCPcopy
hub / github.com/sqlc-dev/sqlc / TestRemovePsqlMetaCommands

Function TestRemovePsqlMetaCommands

internal/migrations/migrations_test.go:85–89  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

83}
84
85func TestRemovePsqlMetaCommands(t *testing.T) {
86 if diff := cmp.Diff(outputPsqlMeta, RemovePsqlMetaCommands(inputPsqlMeta)); diff != "" {
87 t.Errorf("psql meta-command mismatch:\n%s", diff)
88 }
89}
90
91func TestRemoveGolangMigrateRollback(t *testing.T) {
92 filenames := map[string]bool{

Callers

nothing calls this directly

Calls 1

RemovePsqlMetaCommandsFunction · 0.85

Tested by

no test coverage detected