MCPcopy Create free account
hub / github.com/auth0/auth0-cli / TestCommaSeparatedStringToSlice

Function TestCommaSeparatedStringToSlice

internal/cli/apps_test.go:171–174  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

169}
170
171func TestCommaSeparatedStringToSlice(t *testing.T) {
172 assert.Equal(t, []string{}, commaSeparatedStringToSlice(""))
173 assert.Equal(t, []string{"foo", "bar", "baz"}, commaSeparatedStringToSlice(" foo , bar , baz "))
174}
175
176func TestFilterEmptyStrings(t *testing.T) {
177 assert.Equal(t, []string{}, excludeEmptyEntries([]string{}))

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected