Skip to content

Add tryparse support for URI references - #72

Merged
quinnj merged 2 commits into
masterfrom
quinnj/add-uri-tryparse
Aug 13, 2026
Merged

Add tryparse support for URI references#72
quinnj merged 2 commits into
masterfrom
quinnj/add-uri-tryparse

Conversation

@quinnj

@quinnj quinnj commented Aug 12, 2026

Copy link
Copy Markdown
Member

Summary

  • implement Base.tryparse(URI, str)
  • return nothing only for URIs.ParseError
  • document absolute and relative URI-reference behavior
  • add success, relative-reference, and malformed-input tests

Closes #60.

Validation

  • Julia 1.6.7: full test suite passed (253 URI tests, 12 URL tests)
  • Julia 1.12.6: full test suite passed (253 URI tests, 12 URL tests)
  • Documenter build passed

Co-authored by Codex

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.16%. Comparing base (0f4ecc3) to head (af85f33).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #72      +/-   ##
==========================================
+ Coverage   84.63%   85.16%   +0.52%     
==========================================
  Files           5        5              
  Lines         332      337       +5     
==========================================
+ Hits          281      287       +6     
+ Misses         51       50       -1     

☔ View full report in Codecov by Harness.
📢 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.

@quinnj quinnj mentioned this pull request Aug 13, 2026
@quinnj
quinnj merged commit 240b0ee into master Aug 13, 2026
11 checks passed
@quinnj
quinnj deleted the quinnj/add-uri-tryparse branch August 13, 2026 12:42
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.

Implement tryparse for URI

1 participant