Change option name from noColor to color

Still same default behavior (with color)
This commit is contained in:
Pelle Johnsen
2016-01-28 07:50:07 +01:00
parent 7f888e3d18
commit a043432398
2 changed files with 6 additions and 5 deletions

View File

@@ -46,6 +46,6 @@ func TestConsole(t *testing.T) {
// Test console without color
func TestConsoleNoColor(t *testing.T) {
log := NewLogger(100)
log.SetLogger("console", `{"noColor":true}`)
log.SetLogger("console", `{"color":false}`)
testConsoleCalls(log)
}