Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OctopusDeploy/cli
/ TestEmpty_Nil
Function
TestEmpty_Nil
pkg/util/util_test.go:380–383 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
378
}
379
380
func
TestEmpty_Nil(t *testing.T) {
381
var
empty []string = nil
382
assert.True(t, util.Empty(empty))
383
}
384
385
func
TestEmpty_ZeroItems(t *testing.T) {
386
assert.True(t, util.Empty([]string{}))
Callers
nothing calls this directly
Calls
1
Empty
Function · 0.92
Tested by
no test coverage detected