rmisev / url_whatwg

An implementation of the WHATWG URL Standard in C++
https://upa-url.github.io/docs/
Other
9 stars 0 forks source link

Add `idna_unicode_version` and `make_unicode_version` functions #27

Closed rmisev closed 8 months ago

rmisev commented 8 months ago

They are used in wpt-url.cpp to run IdnaTestV2.json tests only if the IDNA library supports Unicode 13.0 or later (e.g. is ICU 66.1 or later).

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (58abe59) 99.73% compared to head (a750f96) 99.73%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #27 +/- ## ======================================= Coverage 99.73% 99.73% ======================================= Files 15 16 +1 Lines 2223 2228 +5 ======================================= + Hits 2217 2222 +5 Misses 6 6 ``` | [Files](https://app.codecov.io/gh/rmisev/url_whatwg/pull/27?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rimas+Misevi%C4%8Dius) | Coverage Δ | | |---|---|---| | [include/upa/url\_idna.h](https://app.codecov.io/gh/rmisev/url_whatwg/pull/27?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rimas+Misevi%C4%8Dius#diff-aW5jbHVkZS91cGEvdXJsX2lkbmEuaA==) | `100.00% <100.00%> (ø)` | | | [src/url\_idna.cpp](https://app.codecov.io/gh/rmisev/url_whatwg/pull/27?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Rimas+Misevi%C4%8Dius#diff-c3JjL3VybF9pZG5hLmNwcA==) | `94.00% <100.00%> (+0.38%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.