pkg/adt: rbcolor string fix

release-3.5
cuiyuan 2019-12-26 10:34:24 +08:00 committed by 崔元
parent 5adad5e224
commit 98f62d27be
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func (c rbcolor) String() string {
case black:
return "black"
case red:
return "black"
return "red"
default:
panic(fmt.Errorf("unknown color %d", c))
}