MCPcopy Create free account
hub / github.com/GetStream/stream-cli / getNormalizedString

Function getNormalizedString

pkg/config/config_test.go:190–195  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

188}
189
190func getNormalizedString(s string) string {
191 noSpace := strings.Replace(s, " ", "", -1)
192 noNewLine := strings.Replace(noSpace, "\n", "", -1)
193
194 return strings.TrimSpace(noNewLine)
195}

Callers 3

TestAddNewConfigFunction · 0.85
TestRemoveConfigFunction · 0.85
TestSetDefaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected