From 7df895396bbd1ab042c3126fb08131355fbddb16 Mon Sep 17 00:00:00 2001 From: bashbunni Date: Fri, 4 Apr 2025 14:51:38 -0700 Subject: [PATCH] chore: tidy comments --- table/table.go | 2 -- table/table_test.go | 6 ------ 2 files changed, 8 deletions(-) diff --git a/table/table.go b/table/table.go index 51700f4..daea993 100644 --- a/table/table.go +++ b/table/table.go @@ -250,8 +250,6 @@ func WithHeaders(headers ...string) Option { } } -// TODO andrey confirm this... I'm pretty sure that's how it's working now -// // WithHeight sets the height of the table. The given height will be the total // table height including borders, margins, and padding. This function is used // as an [Option] in when creating a table with [New]. diff --git a/table/table_test.go b/table/table_test.go index 9e98312..bd1ebdd 100644 --- a/table/table_test.go +++ b/table/table_test.go @@ -90,12 +90,6 @@ func TestTableAlignment(t *testing.T) { golden.RequireEqual(t, []byte(biscuits.View())) }) t.Run("With border", func(t *testing.T) { - // TODO how do we style header border? - // s.Header = s.Header. - // BorderStyle(lipgloss.NormalBorder()). - // BorderForeground(lipgloss.Color("240")). - // Bold(false) - biscuits := New( WithHeaders(headers...), WithRows(rows...),