MCPcopy Create free account
hub / github.com/PerpetualSoftware/pad / TestCapabilityLine_FormatExact

Function TestCapabilityLine_FormatExact

internal/cmdhelp/json_test.go:430–436  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

428}
429
430func TestCapabilityLine_FormatExact(t *testing.T) {
431 got := CapabilityLine([]string{"text", "md", "json", "llm"})
432 want := "cmdhelp/0.1: text, md, json, llm"
433 if got != want {
434 t.Errorf("CapabilityLine = %q, want %q", got, want)
435 }
436}
437
438func TestCapabilityLine_HonorsCallerOrderAndSet(t *testing.T) {
439 // Order is not significant per spec — the helper preserves caller

Callers

nothing calls this directly

Calls 1

CapabilityLineFunction · 0.85

Tested by

no test coverage detected