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