Skip to content

Added german "sharp s" ß - #31

Merged
tyxla merged 2 commits into
tyxla:masterfrom
gollenia:master
Nov 24, 2022
Merged

tyxla merged 2 commits into
tyxla:masterfrom
gollenia:master

Conversation

@gollenia

@gollenia gollenia commented Nov 7, 2022

Copy link
Copy Markdown
Contributor

No description provided.

@tyxla

tyxla commented Nov 13, 2022 •

Copy link
Copy Markdown
Owner

Hey @gollenia, thanks for the contribution!

Would you mind adding a unit test or updating the existing one to cover ß?

Noting that this is a duplicate of #21 but I'm happy to merge the first one that has a unit test and is good to go.

@tyxla tyxla mentioned this pull request Nov 13, 2022
@gollenia

Copy link
Copy Markdown
Contributor Author

Hi, I added the unit test - is that ok so far?

@tyxla

tyxla commented Nov 22, 2022

Copy link
Copy Markdown
Owner

Hi @gollenia this looks great!

One last thing before we ship it - could you add the ß to the test with all characters in it? We try to maintain a list of all supported characters in that test.

Thanks a ton for your time!

@gollenia

Copy link
Copy Markdown
Contributor Author

sure, no thing!

@tyxla tyxla left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a bunch, @gollenia 🙌

@tyxla
tyxla merged commit 4b147a0 into tyxla:master Nov 24, 2022
@tyxla tyxla mentioned this pull request Jun 27, 2023
michaelkirk added a commit to michaelkirk/remove-accents that referenced this pull request Jul 11, 2023
tyxla pushed a commit that referenced this pull request Jul 24, 2023
* Revert "Added german "sharp s" ß (#31)"

This reverts commit 4b147a0.

* add regression test for ß

* fixup! add regression test for ß

I forgot to call `t.end()` 🤦

The now outdated "ß" -> "ss" was added to the "remove accents from string" test case as part of 1fe0b90

It seems like maybe the misunderstanding was that the string contained
every to-be-sanitized character, but that's not true. Since ß now has
it's own unit test, I've removed it from the "remove accents from
string" test.
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