Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SSN_REGEX not to include pipe character in allowed characters #28

Merged
merged 1 commit into from Nov 21, 2023

Conversation

xkr47
Copy link
Contributor

@xkr47 xkr47 commented Nov 7, 2023

No description provided.

@@ -65,7 +65,13 @@ describe('FinnishSSN', () => {
})

it('Should pass when given valid FinnishSSN from 20th century', () => {
expect(FinnishSSN.validate('010197-100P')).to.equal(true)
const hypotheticalIndividuals = [
'010101-0101',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added another one here just to be sure because most tests seemed to focus on SSNs around 1990-20xx

@sebazai sebazai merged commit fccbb12 into vkomulai:master Nov 21, 2023
1 check passed
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.

None yet

2 participants