1
0
mirror of https://github.com/gizak/termui.git synced 2025-04-24 13:48:50 +08:00

fixing one test with wrong logic

This commit is contained in:
Andrew Arrow 2022-11-07 02:44:37 -08:00
parent f047fb3200
commit 2bd947efbb

View File

@ -12,9 +12,9 @@ func TestParseStyles(t *testing.T) {
t.Fatal("wrong text", text)
}
cells = ParseStyles("[blue](fg:blue) [1] ", NewStyle(ColorWhite))
cells = ParseStyles("[blue](fg:blue) [1]", NewStyle(ColorWhite))
text = textFromCells(cells)
if text != "blue [1] hello" {
if text != "blue [1]" {
t.Fatal("wrong text", text)
}