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

Fixing some tests that failed on systems that do not have UTF8 as the default charset #118

Conversation

mfg92
Copy link
Contributor

@mfg92 mfg92 commented Feb 6, 2024

On my machine, some tests failed because the test result was written to the tmp folder using the Latin-1 (ISO-8859-1) character set, but later read using UTF8.
This PR ensures that the test result is always written to the file using UTF8, regardless of the system's default character set.

Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b355197) 92.18% compared to head (ed205ba) 92.18%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #118   +/-   ##
=========================================
  Coverage     92.18%   92.18%           
  Complexity      381      381           
=========================================
  Files            27       27           
  Lines           973      973           
  Branches         87       87           
=========================================
  Hits            897      897           
  Misses           58       58           
  Partials         18       18           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@noconnor
Copy link
Owner

noconnor commented Feb 7, 2024

Looks good, thanks 👍

@noconnor noconnor merged commit 46bf817 into noconnor:master Feb 7, 2024
3 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.

2 participants