Skip to content

Commit a72e7ad

Browse files
committed
Add skip for color test on windows because the test uses posix colors
1 parent 4a8b5e1 commit a72e7ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

logger_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ func TestLogger(t *testing.T) {
258258
})
259259

260260
t.Run("can force colors to on in any context", func(t *testing.T) {
261+
if runtime.GOOS == "windows" {
262+
t.Skip("colors are different on windows")
263+
}
264+
261265
var buf bytes.Buffer
262266

263267
logger := New(&LoggerOptions{

0 commit comments

Comments
 (0)