MCPcopy Create free account
hub / github.com/OctopusDeploy/cli / TestEmpty_SomeItems

Function TestEmpty_SomeItems

pkg/util/util_test.go:389–391  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

387}
388
389func TestEmpty_SomeItems(t *testing.T) {
390 assert.False(t, util.Empty([]string{"value"}))
391}
392
393func TestDistinct_Empty(t *testing.T) {
394 assert.Equal(t, []string(nil), util.SliceDistinct([]string{}))

Callers

nothing calls this directly

Calls 1

EmptyFunction · 0.92

Tested by

no test coverage detected