Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix syntax tests failure on macOS during the daytime #2693

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

rhysd
Copy link
Contributor

@rhysd rhysd commented Oct 3, 2023

I'm setting 'Auto' appearance mode in the OS settings. It automatically sets the light mode during the daytime and switches to the dark mode at night.

image

Since syntax tests use default theme, bat automatically switches the default color theme looking at the OS settings on macOS. However syntax tests assume the theme is always dark. So the tests fail during the daytime in my environment.

This PR fixes the issue by setting Monokai Extended (which is the default color theme in dark mode) explicitly.

@Enselic
Copy link
Collaborator

Enselic commented Oct 4, 2023

Thanks!

@Enselic Enselic merged commit d756d6f into sharkdp:master Oct 4, 2023
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants