mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-16 01:43:21 +00:00
refactor(table): remove uneeded extra args from NewFromTemplate
This commit is contained in:
+1
-1
@@ -364,7 +364,7 @@ func TestNewFromTemplate(t *testing.T) {
|
||||
return baseStyle.Foreground(lipgloss.Color("252"))
|
||||
})
|
||||
|
||||
bubblesTable := NewFromTemplate(lipglossTable, headers, pokemonData)
|
||||
bubblesTable := NewFromTemplate(lipglossTable)
|
||||
golden.RequireEqual(t, []byte(bubblesTable.View()))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user