func Test_White_2(t *testing.T) { expected := "polru" actual := Color.White("polru", false) if actual != expected { t.Errorf("Test failed, expected: '%s', got: '%s'", expected, actual) } }
func Test_White_1(t *testing.T) { expected := "\x1b[37mpolru\x1b[39;49m" actual := Color.White("polru", true) if actual != expected { t.Errorf("Test failed, expected: '%s', got: '%s'", expected, actual) } }