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

Function stderrTransformer

internal/endtoend/endtoend_test.go:31–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31func stderrTransformer() cmp.Option {
32 return cmp.Transformer("Stderr", func(in string) string {
33 s := strings.Replace(in, "\r", "", -1)
34 return strings.Replace(s, "\\", "/", -1)
35 })
36}
37
38func TestExamples(t *testing.T) {
39 t.Parallel()

Callers 1

TestReplayFunction · 0.85

Calls 1

ReplaceMethod · 0.45

Tested by

no test coverage detected