diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-16 15:03:54 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-16 15:03:54 +0200 |
| commit | 283c876aff2c1a5477955140df783a70ab76dbd8 (patch) | |
| tree | 5a3dbdce25e549fbed983ed839fdad39c9d3d21f /web/server_test.go | |
| parent | df7c9b5130ba193fc918a947a461f2a70dc2dd3c (diff) | |
feat(web): improve official climb profile
Diffstat (limited to 'web/server_test.go')
| -rw-r--r-- | web/server_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
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.") } |