tweak error colors
This commit is contained in:
parent
4c0d40c631
commit
af7fcee50b
@ -21,7 +21,7 @@ var dimmed *color.Color
|
||||
func init() {
|
||||
bold = color.New(color.Bold)
|
||||
bold.EnableColor()
|
||||
boldRedBG = color.New(color.Bold, color.BgRed)
|
||||
boldRedBG = color.New(color.Bold, color.BgRed, 225)
|
||||
boldRedBG.EnableColor()
|
||||
boldRed = color.New(color.Bold, color.FgHiRed)
|
||||
boldRed.EnableColor()
|
||||
|
@ -142,7 +142,7 @@ func TestFormatter(t *testing.T) {
|
||||
Call: Error,
|
||||
Level: logrus.InfoLevel,
|
||||
Color: true,
|
||||
Expects: "\033[1;41m ERROR \033[0m message",
|
||||
Expects: "\033[1;41;225m ERROR \033[0m message",
|
||||
},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user