MCPcopy Create free account
hub / github.com/cogentcore/core / TestExec

Function TestExec

shell/exec_test.go:13–15  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

11)
12
13func TestExec(t *testing.T) {
14 assert.Equal(t, "hi", NewShell().Output("echo", "hi"))
15}

Callers

nothing calls this directly

Calls 3

NewShellFunction · 0.85
EqualMethod · 0.80
OutputMethod · 0.45

Tested by

no test coverage detected