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