1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 02:20:54 +00:00

NewAnsiColorWriter remove

This commit is contained in:
JessonChan 2019-03-12 15:13:54 +08:00
parent 7693502aaa
commit 9cecb22170

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)
}
}