From f893b6f7faa0e48f9b452d0a1973f07662a5dcbb Mon Sep 17 00:00:00 2001 From: Andrew Arrow Date: Mon, 7 Nov 2022 11:34:45 -0800 Subject: [PATCH] more cleanup of printing --- style_parser_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/style_parser_test.go b/style_parser_test.go index 9d9893a..8618d78 100644 --- a/style_parser_test.go +++ b/style_parser_test.go @@ -1,7 +1,6 @@ package termui import ( - "fmt" "strings" "testing" ) @@ -20,9 +19,6 @@ func TestBreakByStyles(t *testing.T) { func TestParseStyles(t *testing.T) { cells := ParseStyles("test nothing", NewStyle(ColorWhite)) cells = ParseStyles("test [blue](fg:blue,bg:white,mod:bold) and [red](fg:red)", NewStyle(ColorWhite)) - fmt.Println(cells) - text2 := textFromCells(cells) - fmt.Println(text2) if len(cells) != 17 { t.Fatal("wrong length", len(cells)) }