MCPcopy Index your code
hub / github.com/cortesi/modd / TestShortCommand

Function TestShortCommand

proc_test.go:20–27  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

18}
19
20func TestShortCommand(t *testing.T) {
21 for i, tst := range shortCommandTests {
22 result := shortCommand(tst.command)
23 if result != tst.expected {
24 t.Errorf("Test %d: expected\n%q\ngot\n%q", i, tst.expected, result)
25 }
26 }
27}

Callers

nothing calls this directly

Calls 1

shortCommandFunction · 0.85

Tested by

no test coverage detected