(t *testing.T)
| 41 | } |
| 42 | |
| 43 | func 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 | |
| 51 | func TestRunHandoffSubcommandLatestVariants(t *testing.T) { |
| 52 | root := t.TempDir() |
nothing calls this directly
no test coverage detected