MCPcopy
hub / github.com/uber-go/zap / verifyNoZap

Function verifyNoZap

stacktrace_ext_test.go:156–160  ·  view source on GitHub ↗
(t *testing.T, logs string)

Source from the content-addressed store, hash-verified

154}
155
156func verifyNoZap(t *testing.T, logs string) {
157 for _, fnPrefix := range _zapPackages {
158 require.NotContains(t, logs, fnPrefix, "Should not strip out marshal call")
159 }
160}
161
162func withGoPath(t *testing.T, f func(goPath string)) {
163 goPath := filepath.Join(t.TempDir(), "gopath")

Calls

no outgoing calls

Tested by

no test coverage detected