Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
278
func
sanitize(testName string) string {
279
return
strings.Replace(testName,
"/"
,
"_"
, -1)
280
}
281
282
func
TestOpenTopic(t *testing.T) {
283
ctx := context.Background()
Callers
2
CreateTopic
Method · 0.70
CreateSubscription
Method · 0.70
Calls
1
Replace
Method · 0.45
Tested by
no test coverage detected