From e42952469dadfb3535633c66c881050ac128703c Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 5 Oct 2026 17:05:14 -0400 Subject: fix: gather verbs, walk oom, admin path bypass, roulette refund --- internal/ui/table_test.go | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'internal/ui/table_test.go') diff --git a/internal/ui/table_test.go b/internal/ui/table_test.go index 68b6d32..170af5c 100644 --- a/internal/ui/table_test.go +++ b/internal/ui/table_test.go @@ -54,6 +54,17 @@ func TestTableFitsWithinWidth(t *testing.T) { } } +func TestTableLongTitleStaysWithinBorder(t *testing.T) { + // A title longer than the column-derived interior must be truncated, not + // allowed to overhang the border. + tt := &Table{ + Title: "What would you like to smelt?", + Columns: []string{"", "Bronze bar"}, + Rows: [][]string{{"1", "Bronze bar"}}, + } + renderWidths(t, tt, true, 0) +} + func TestTableNoMutation(t *testing.T) { tt := &Table{ Title: "T", -- cgit v1.2.3