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:
parent
f047fb3200
commit
2bd947efbb
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user