MCPcopy 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
143func TestShellBool(t *testing.T) {
144 t.Parallel()
145 assert.Equal(t, "1", shellBool(true))
146 assert.Equal(t, "0", shellBool(false))
147}
148
149func TestPortOffset(t *testing.T) {
150 t.Parallel()

Callers

nothing calls this directly

Calls 2

shellBoolFunction · 0.85
EqualMethod · 0.45

Tested by

no test coverage detected