package web import ( "regexp" "testing" "gitea.dooplex.hu/admin/felhom-controller/internal/stacks" ) // R-659 (v0.268.0) — a hold that names NO whole copy gets no restore button beside its sentence, on // either page; a hold that names one keeps it. A render test PER BRANCH of the gate (seam-wiring rule). // // COMPANION RED-PROOF (REPORT.md): drop `{{if not .HoldNoWholeCopy}}` from stacks.html — the // "no whole copy" branch fails with the button present. var heldButton = regexp.MustCompile(`data-held="true">[^<]*