Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ TestShellBool
Function
TestShellBool
scripts/develop/main_test.go:143–147 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
141
}
142
143
func
TestShellBool(t *testing.T) {
144
t.Parallel()
145
assert.Equal(t,
"1"
, shellBool(true))
146
assert.Equal(t,
"0"
, shellBool(false))
147
}
148
149
func
TestPortOffset(t *testing.T) {
150
t.Parallel()
Callers
nothing calls this directly
Calls
2
shellBool
Function · 0.85
Equal
Method · 0.45
Tested by
no test coverage detected