Skip to content

test: add Unicode boundary and composite type tests#110

Open
leftygbalogh wants to merge 1 commit intodavidhewitt:mainfrom
leftygbalogh:lefty/tests-unicode-and-composites
Open

test: add Unicode boundary and composite type tests#110
leftygbalogh wants to merge 1 commit intodavidhewitt:mainfrom
leftygbalogh:lefty/tests-unicode-and-composites

Conversation

@leftygbalogh
Copy link
Copy Markdown
Contributor

Adds boundary and composite-type tests. test_unicode.rs (11 tests): non-Latin scripts, homoglyphs, NFD preservation, non-BMP emoji, null byte. test_composites.rs (12 tests): Option, Vec, HashMap<String,Option>, newtype/tuple structs, enum variants. Notable: enum tuple variants produce Python tuple payload not list -- documented with BASELINE comment.

tests/test_unicode.rs (11 tests): non-Latin scripts, homoglyphs, NFD
preservation, non-BMP emoji, embedded null byte

tests/test_composites.rs (12 tests): Option<Vec<T>>, Vec<Option<T>>,
HashMap<String,Option<T>>, newtype structs, tuple structs, enum variants
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.25%. Comparing base (0085a18) to head (9f6cf83).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #110      +/-   ##
==========================================
+ Coverage   84.48%   86.25%   +1.77%     
==========================================
  Files           3        3              
  Lines        1186     1186              
  Branches     1186     1186              
==========================================
+ Hits         1002     1023      +21     
+ Misses        118       97      -21     
  Partials       66       66              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@davidhewitt
Copy link
Copy Markdown
Owner

Similar question to #109 (comment)

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