NewAnsiColorWriter remove

This commit is contained in:
JessonChan 2019-03-12 15:13:54 +08:00
parent 7693502aaa
commit 9cecb22170
1 changed files with 0 additions and 16 deletions

View File

@ -57,19 +57,3 @@ func TestFormatHeader_1(t *testing.T) {
}
}
func TestNewAnsiColor1(t *testing.T) {
inner := bytes.NewBufferString("")
w := NewAnsiColorWriter(inner)
if w == inner {
t.Errorf("Get %#v, want %#v", w, inner)
}
}
func TestNewAnsiColor2(t *testing.T) {
inner := bytes.NewBufferString("")
w1 := NewAnsiColorWriter(inner)
w2 := NewAnsiColorWriter(w1)
if w1 != w2 {
t.Errorf("Get %#v, want %#v", w1, w2)
}
}