(t *testing.T)
| 200 | } |
| 201 | |
| 202 | func 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 | |
| 213 | func TestRenderMarkdown(t *testing.T) { |
| 214 | a := &Artifact{ |
nothing calls this directly
no test coverage detected