MCPcopy Index your code
hub / github.com/MiniCodeMonkey/chief / TestNewLoopWithWorkDir_EmptyWorkDir

Function TestNewLoopWithWorkDir_EmptyWorkDir

internal/loop/loop_test.go:122–128  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

120}
121
122func TestNewLoopWithWorkDir_EmptyWorkDir(t *testing.T) {
123 l := NewLoopWithWorkDir("/path/to/prd.json", "", "test prompt", 5, testProvider)
124
125 if l.workDir != "" {
126 t.Errorf("Expected empty workDir, got %q", l.workDir)
127 }
128}
129
130func TestLoop_Events(t *testing.T) {
131 l := NewLoop("/path/to/prd.json", "test prompt", 5, testProvider)

Callers

nothing calls this directly

Calls 1

NewLoopWithWorkDirFunction · 0.85

Tested by

no test coverage detected