MCPcopy Create free account
hub / github.com/diillson/chatcli / TestProcessorProcessPaths_InvalidMode

Function TestProcessorProcessPaths_InvalidMode

cli/ctxmgr/ctxmgr_test.go:999–1005  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

997}
998
999func TestProcessorProcessPaths_InvalidMode(t *testing.T) {
1000 p := NewProcessor(zap.NewNop())
1001 _, _, err := p.ProcessPaths(context.Background(), []string{"."}, "invalid-mode")
1002 if err == nil {
1003 t.Error("expected error for invalid processing mode")
1004 }
1005}
1006
1007// ---------------------------------------------------------------------------
1008// Chunker tests

Callers

nothing calls this directly

Calls 3

ProcessPathsMethod · 0.95
NewProcessorFunction · 0.70
ErrorMethod · 0.65

Tested by

no test coverage detected