Skip to content

Commit

Permalink
Add skip for color test on windows because the test uses posix colors
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed Dec 4, 2023
1 parent 4a8b5e1 commit a72e7ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ func TestLogger(t *testing.T) {
})

t.Run("can force colors to on in any context", func(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("colors are different on windows")
}

var buf bytes.Buffer

logger := New(&LoggerOptions{
Expand Down

0 comments on commit a72e7ad

Please sign in to comment.