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

Function TestProcessorProcessPaths_NoPaths

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

Source from the content-addressed store, hash-verified

989}
990
991func TestProcessorProcessPaths_NoPaths(t *testing.T) {
992 p := NewProcessor(zap.NewNop())
993 _, _, err := p.ProcessPaths(context.Background(), nil, ModeFull)
994 if err == nil {
995 t.Error("expected error when no paths provided")
996 }
997}
998
999func TestProcessorProcessPaths_InvalidMode(t *testing.T) {
1000 p := NewProcessor(zap.NewNop())

Callers

nothing calls this directly

Calls 3

ProcessPathsMethod · 0.95
NewProcessorFunction · 0.70
ErrorMethod · 0.65

Tested by

no test coverage detected