diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-11 21:11:17 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-11 21:11:17 +0200 |
| commit | c5ecbb89cf4035923fab6c3bd20ebe6cbcd06d49 (patch) | |
| tree | 77103dcfde5f72145b34006f93317ccf9e33edf5 /internal/showcase/showcase_test.go | |
| parent | 414d18f158df079d6526d88ae7c689c8212d4d65 (diff) | |
fix(showcase): compact rank history displayv0.15.2
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 125de63..7d095c0 100644 --- a/internal/showcase/showcase_test.go +++ b/internal/showcase/showcase_test.go @@ -113,14 +113,14 @@ func TestFormatGemtext_IncludesRankHistoryInHeader(t *testing.T) { RankHistory: []RepoRankHistory{ {Spot: 1, Anchor: "now"}, {Spot: 2, Anchor: "1w", Arrow: "↑"}, - {Spot: 2, Anchor: "2w", Arrow: "→"}, + {Spot: 2, Anchor: "2w", Arrow: "="}, {Spot: 0, Anchor: "3w", Arrow: "·"}, {Spot: 4, Anchor: "4w", Arrow: "↓"}, }, }, }) - if !strings.Contains(content, "### 1. alpha [#1(now) ↑#2(1w) →#2(2w) ↓#4(4w)]") { + if !strings.Contains(content, "### 1. alpha · #1↑#2=#2↓#4") { t.Fatalf("rank history was not rendered in header: %s", content) } } |
