(t *testing.T, logs string)
| 154 | } |
| 155 | |
| 156 | func 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 | |
| 162 | func withGoPath(t *testing.T, f func(goPath string)) { |
| 163 | goPath := filepath.Join(t.TempDir(), "gopath") |
no outgoing calls
no test coverage detected