From 283c876aff2c1a5477955140df783a70ab76dbd8 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sun, 16 Aug 2026 15:03:54 +0200 Subject: feat(web): improve official climb profile --- web/server_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'web/server_test.go') diff --git a/web/server_test.go b/web/server_test.go index f719372..f408d33 100644 --- a/web/server_test.go +++ b/web/server_test.go @@ -303,8 +303,11 @@ func TestHandlerCreatesOfficialClimbFromRoutePoints(t *testing.T) { assert.Contains(t, body, "Cotacol") assert.Contains(t, body, "Avg slope") assert.Contains(t, body, "data-official-profile") + assert.Contains(t, body, "<=0%") assert.Contains(t, body, "0–3%") - assert.Contains(t, body, "12%+") + assert.Contains(t, body, "3–6%") + assert.Contains(t, body, "6–9%") + assert.Contains(t, body, "9%+") assert.NotContains(t, body, "Waiting for an official climb match.") } -- cgit v1.2.3