Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
283
func
sanitize(testName string) string {
284
return
strings.Replace(testName,
"/"
,
"_"
, -1)
285
}
286
287
func
TestOpenTopic(t *testing.T) {
288
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