MCPcopy Create free account
hub / github.com/diillson/chatcli / normalizeSpaces

Function normalizeSpaces

cli/cli_test.go:35–37  ·  view source on GitHub ↗

normalizeSpaces remove espaços extras para asserções flexíveis

(s string)

Source from the content-addressed store, hash-verified

33
34// normalizeSpaces remove espaços extras para asserções flexíveis
35func normalizeSpaces(s string) string {
36 return strings.Join(strings.Fields(s), " ")
37}
38
39func TestHandleVersionCommand(t *testing.T) {
40 logger, _ := zap.NewDevelopment()

Callers 1

TestHandleVersionCommandFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected