1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Unexport colorFor() function

This commit is contained in:
Chris Cummer
2018-07-26 13:50:37 -07:00
parent 8db4dc3f87
commit 66868a3f49
6 changed files with 10 additions and 28 deletions

View File

@@ -1,14 +0,0 @@
package wtftests
import (
"testing"
"github.com/gdamore/tcell"
. "github.com/senorprogrammer/wtf/wtf"
. "github.com/stretchr/testify/assert"
)
func TestColorFor(t *testing.T) {
Equal(t, tcell.ColorRed, ColorFor("red"))
Equal(t, tcell.ColorGreen, ColorFor("cat"))
}