(t *testing.T)
| 86 | } |
| 87 | |
| 88 | func TestBuildRunHTMLURL_GHES(t *testing.T) { |
| 89 | got := buildRunHTMLURL("github.example.com", "myorg", "myrepo", 12345) |
| 90 | want := "https://github.example.com/myorg/myrepo/actions/runs/12345" |
| 91 | if got != want { |
| 92 | t.Errorf("buildRunHTMLURL GHES = %q; want %q", got, want) |
| 93 | } |
| 94 | } |
| 95 | |
| 96 | // ─── ViewWorkflowRun (local dir with pre-populated JSONL) ──────────────────── |
| 97 |
nothing calls this directly
no test coverage detected