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: marshall multi-byte strings correctly #261

Merged
merged 2 commits into from
Oct 4, 2023
Merged

fix: marshall multi-byte strings correctly #261

merged 2 commits into from
Oct 4, 2023

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Oct 4, 2023

We needed to calculate the size based on the bytes string not the utf-8 string

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (f9e5d1d) 83.37% compared to head (362da93) 83.25%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
- Coverage   83.37%   83.25%   -0.13%     
==========================================
  Files          28       28              
  Lines        3290     3290              
  Branches      682      682              
==========================================
- Hits         2743     2739       -4     
- Misses        331      333       +2     
- Partials      216      218       +2     
Files Coverage Δ
src/dbus_fast/_private/marshaller.py 93.37% <100.00%> (ø)

... and 1 file with indirect coverage changes

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

@bdraco bdraco merged commit 4de31a3 into main Oct 4, 2023
15 of 16 checks passed
@bdraco bdraco deleted the marshall_utf8 branch October 4, 2023 17:37
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