Skip to content

Hyphens being stripped from valid names#8

Merged
dazfuller merged 1 commit intomainfrom
dazfuller/7-parsing-already-clean-names-strips-hyphen-separators
Oct 24, 2024
Merged

Hyphens being stripped from valid names#8
dazfuller merged 1 commit intomainfrom
dazfuller/7-parsing-already-clean-names-strips-hyphen-separators

Conversation

@dazfuller
Copy link
Contributor

This PR resolves issue #7 where valid names are being stripped of hyphens

Refactored unit test to use [Theory] and included multiple inline data sets for better coverage of name cleaning logic. Also updated the regex pattern to allow hyphens in names, ensuring more accurate cleaning of input strings.
@dazfuller dazfuller linked an issue Oct 24, 2024 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Oct 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.53%. Comparing base (17bfcde) to head (dc0bc11).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage   99.53%   99.53%           
=======================================
  Files           9        9           
  Lines         217      217           
  Branches       36       36           
=======================================
  Hits          216      216           
  Partials        1        1           

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

@dazfuller dazfuller self-assigned this Oct 24, 2024
@dazfuller dazfuller merged commit c8487c0 into main Oct 24, 2024
@dazfuller dazfuller deleted the dazfuller/7-parsing-already-clean-names-strips-hyphen-separators branch October 24, 2024 17:05
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.

Parsing already clean names strips hyphen separators

1 participant