summaryrefslogtreecommitdiff
path: root/internal/showcase/showcase_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/showcase/showcase_test.go')
-rw-r--r--internal/showcase/showcase_test.go4
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)
}
}