package web_test import ( "context" "fmt" "io" "net/http" "net/http/httptest" "net/url" "strings" "testing" "time" ) // TestBulkPageHasNoNestedForms guards against the chip-add
. A naive but robust check: between the opening // , there must be no // other ") if end < 0 { t.Fatalf("bulk-actions form never closes") } inner := tail[len(startTag):end] if strings.Contains(inner, "