MCPcopy Create free account
hub / github.com/JordanCoin/codemap / TestRunHandoffSubcommandLatestMissing

Function TestRunHandoffSubcommandLatestMissing

main_helpers_test.go:43–49  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

41}
42
43func TestRunHandoffSubcommandLatestMissing(t *testing.T) {
44 root := t.TempDir()
45 out := captureMainOutput(func() { runHandoffSubcommand([]string{"--latest", root}) })
46 if !strings.Contains(out, "No handoff artifact found") {
47 t.Fatalf("expected missing handoff message, got:\n%s", out)
48 }
49}
50
51func TestRunHandoffSubcommandLatestVariants(t *testing.T) {
52 root := t.TempDir()

Callers

nothing calls this directly

Calls 2

captureMainOutputFunction · 0.85
runHandoffSubcommandFunction · 0.85

Tested by

no test coverage detected