From 8cb0b0a12ddd727f6061e3b1a6923608f06ea726 Mon Sep 17 00:00:00 2001 From: Mathias Date: Fri, 2 Oct 2026 09:00:56 +0200 Subject: [PATCH] test(web): the kept-spot assertion looks for what the page actually renders (red) Co-Authored-By: Claude Sonnet 5.5 --- internal/web/uploads_spots_handler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/web/uploads_spots_handler_test.go b/internal/web/uploads_spots_handler_test.go index fd2e44a..c758016 100644 --- a/internal/web/uploads_spots_handler_test.go +++ b/internal/web/uploads_spots_handler_test.go @@ -43,7 +43,7 @@ func TestUploadStatus_TheMoreCountIgnoresKeptSpotsAndMatchesTheListedKind(t *tes b := body(t, do(t, app, get("/uploads/"+id+"/status"))) assert.Contains(t, b, "10 more", "60 changed, 50 shown: the 60 kept ones do not count") - assert.NotContains(t, b, ">k0<") + assert.NotContains(t, b, "k0 / j0", "a kept spot is not rendered even when it is among the first stored") } func TestUploadStatus_WhenNothingNeedsCheckingThereIsNoSpotsSection(t *testing.T) {