MCPcopy Create free account
hub / github.com/google/go-cloud / sanitize

Function sanitize

pubsub/gcppubsubv2/gcppubsub_test.go:278–280  ·  view source on GitHub ↗
(testName string)

Source from the content-addressed store, hash-verified

276}
277
278func sanitize(testName string) string {
279 return strings.Replace(testName, "/", "_", -1)
280}
281
282func TestOpenTopic(t *testing.T) {
283 ctx := context.Background()

Callers 2

CreateTopicMethod · 0.70
CreateSubscriptionMethod · 0.70

Calls 1

ReplaceMethod · 0.45

Tested by

no test coverage detected