morelinq / MoreLINQ

Extensions to LINQ to Objects
https://morelinq.github.io/
Apache License 2.0
3.67k stars 412 forks source link

Fix exception thrown when `Pad`/`PadStart` width is invalid #1030

Closed atifaziz closed 11 months ago

atifaziz commented 11 months ago

This PR fixes #1027 and #1028.

codecov[bot] commented 11 months ago

Codecov Report

Merging #1030 (17f3df5) into master (2c3f004) will not change coverage. Report is 1 commits behind head on master. The diff coverage is 100.00%.

:exclamation: Current head 17f3df5 differs from pull request most recent head 299c2c9. Consider uploading reports for the commit 299c2c9 to get more accurate results

@@           Coverage Diff           @@
##           master    #1030   +/-   ##
=======================================
  Coverage   92.63%   92.63%           
=======================================
  Files         113      113           
  Lines        3421     3421           
  Branches     1056     1056           
=======================================
  Hits         3169     3169           
  Misses        189      189           
  Partials       63       63           
Files Coverage Δ
MoreLinq/Pad.cs 100.00% <100.00%> (ø)
MoreLinq/PadStart.cs 97.91% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more