Rename template.go to format.go, a table's tokens to cellTemplates, drawAt.alt to pinned and ftoken's brace-body kind to 't', and drop the done item

This commit is contained in:
2026-09-25 17:28:35 +02:00
committed by Lillem4n
parent 191186ec94
commit 005f4d7adc
11 changed files with 44 additions and 49 deletions
+2 -2
View File
@@ -996,8 +996,8 @@ func TestEnteredRowsAgreeWithPinning(t *testing.T) {
for cr := 0; cr < cand.rows(); cr++ {
beside := s.clone()
refused := beside.pinRow(cand, cr) != nil
pinned := drawAt{alt: none.entered(cand, cr)}
if got := alternatives(drawAt{alt: s}, pinned); got != refused {
pinned := drawAt{pinned: none.entered(cand, cr)}
if got := alternatives(drawAt{pinned: s}, pinned); got != refused {
t.Errorf("alternatives(%s, %s) = %v, but pinning both refuses = %v", entered.selectorSpelling(row), cand.selectorSpelling(cr), got, refused)
}
if alternatives(whole, pinned) || alternatives(pinned, whole) {