Skip to content

Conversation

@cardigan1008
Copy link
Contributor

Fix panic 2-4 in #244 and panic 16-28 in #246

The 16 panics are all attributed to missing check of the size of items of Format in from_str().

@codecov
Copy link

codecov bot commented Jul 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.01%. Comparing base (0cde737) to head (93192da).
Report is 9 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
+ Coverage   83.75%   84.01%   +0.25%     
==========================================
  Files          22       22              
  Lines        3688     3691       +3     
==========================================
+ Hits         3089     3101      +12     
+ Misses        599      590       -9     

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

@ChristopherRabotin
Copy link
Member

Thanks! Could you also add test cases for this fix?

@cardigan1008
Copy link
Contributor Author

Thanks! Could you also add test cases for this fix?

I have just added regression tests by using the examples from #244 and #246 . Please let me know if there are any problems or further suggestions.

@ChristopherRabotin
Copy link
Member

Superb tests! Thank you!

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