MCPcopy Index your code
hub / github.com/codehamr/codehamr / TestBashEmptyCommand

Function TestBashEmptyCommand

internal/tools/bash_test.go:41–45  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

39}
40
41func TestBashEmptyCommand(t *testing.T) {
42 if Bash(context.Background(), " ", time.Second) != "(empty command)" {
43 t.Fatal("empty command handling wrong")
44 }
45}
46
47// TestBashBoundsRunawayOutput: a firehose command must not grow an unbounded
48// buffer (the old CombinedOutput OOM-killed the whole TUI on `cat big.iso`

Callers

nothing calls this directly

Calls 1

BashFunction · 0.85

Tested by

no test coverage detected