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

Function TestReadLatestMissing

handoff/handoff_test.go:202–211  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

200}
201
202func TestReadLatestMissing(t *testing.T) {
203 root := t.TempDir()
204 got, err := ReadLatest(root)
205 if err != nil {
206 t.Fatalf("expected nil error for missing file, got %v", err)
207 }
208 if got != nil {
209 t.Fatalf("expected nil artifact when file missing")
210 }
211}
212
213func TestRenderMarkdown(t *testing.T) {
214 a := &Artifact{

Callers

nothing calls this directly

Calls 1

ReadLatestFunction · 0.85

Tested by

no test coverage detected