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

Function sanitize

pubsub/gcppubsub/gcppubsub_test.go:283–285  ·  view source on GitHub ↗
(testName string)

Source from the content-addressed store, hash-verified

281}
282
283func sanitize(testName string) string {
284 return strings.Replace(testName, "/", "_", -1)
285}
286
287func TestOpenTopic(t *testing.T) {
288 ctx := context.Background()

Callers 2

CreateTopicMethod · 0.70
CreateSubscriptionMethod · 0.70

Calls 1

ReplaceMethod · 0.45

Tested by

no test coverage detected