1
0
mirror of https://github.com/fatih/color.git synced 2024-11-30 08:06:42 +02:00

Apply suggestions from code review

This commit is contained in:
Fatih Arslan 2023-10-18 10:07:36 +03:00 committed by GitHub
parent b756d513ef
commit b5f9b4c560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -471,7 +471,6 @@ func readRaw(t *testing.T, r io.Reader) string {
} }
func TestIssue206_1(t *testing.T) { func TestIssue206_1(t *testing.T) {
//visual test, go test -v . //visual test, go test -v .
//to see the string with escape codes, use go test -v . > c:\temp\test.txt //to see the string with escape codes, use go test -v . > c:\temp\test.txt
var underline = New(Underline).Sprint var underline = New(Underline).Sprint
@ -491,7 +490,6 @@ func TestIssue206_1(t *testing.T) {
} }
func TestIssue206_2(t *testing.T) { func TestIssue206_2(t *testing.T) {
var underline = New(Underline).Sprint var underline = New(Underline).Sprint
var bold = New(Bold).Sprint var bold = New(Bold).Sprint