mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Update test case for default color
Tcell's default is default, so using that changes the tests
This commit is contained in:
parent
e8f38ffda6
commit
5979564483
@ -49,12 +49,12 @@ func Test_ColorFor(t *testing.T) {
|
|||||||
{
|
{
|
||||||
name: "with no label",
|
name: "with no label",
|
||||||
label: "",
|
label: "",
|
||||||
expected: tcell.ColorGreen,
|
expected: tcell.ColorDefault,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "with missing label",
|
name: "with missing label",
|
||||||
label: "cat",
|
label: "cat",
|
||||||
expected: tcell.ColorGreen,
|
expected: tcell.ColorDefault,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "with defined label",
|
name: "with defined label",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user