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:
parent
b756d513ef
commit
b5f9b4c560
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user