diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-07 10:42:05 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-07 10:42:05 +0300 |
| commit | 1ea893298cec7b4c9e160560a19e96704bb6b586 (patch) | |
| tree | edb8b8523db6f65117d95b2302ed40904ec70a0d /internal/showcase/showcase_test.go | |
| parent | 109796b9e10fbb483029c23f31d2a45e71fbd9a7 (diff) | |
feat(showcase): add human-readable cgit access hint with obfuscated URLv0.18.4
Diffstat (limited to 'internal/showcase/showcase_test.go')
| -rw-r--r-- | internal/showcase/showcase_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/showcase/showcase_test.go b/internal/showcase/showcase_test.go index 09d707f..625414f 100644 --- a/internal/showcase/showcase_test.go +++ b/internal/showcase/showcase_test.go @@ -162,8 +162,8 @@ func TestFormatGemtext_IncludesCgitLink(t *testing.T) { }, }) - if !strings.Contains(content, "=> https://cgit.f3s.buetow.org/cpuinfo/ View in cgit\n") { - t.Fatalf("cgit link was not rendered: %s", content) + if !strings.Contains(content, "For cgit access go to c-git dot f3s dot buetow dot org slash cpuinfo\n") { + t.Fatalf("cgit hint text was not rendered: %s", content) } } |
