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

Test cases added for france locale bug #2485

Conversation

mash3al-29
Copy link

This PR adds test cases to address the issue related to the validation of French postal codes (locale: FR). The added tests specifically validate the functionality of the postal code validation method to ensure it correctly identifies valid and invalid French postal codes.

The test cases include:

  • Valid French postal code: 75001
  • Invalid French postal code: 96000
  • Additional tests for error scenarios with incorrect locales.

These tests aim to ensure that the bug identified in the previous PR is resolved and that postal code validation behaves as expected.

For reference on French postal code structure, please see La Poste, which outlines valid postal code formats used in France.

Checklist

  • PR contains only changes related; no stray files, etc.
  • README updated (where applicable)
  • Tests written (where applicable)
  • References provided in PR (where applicable)

@mash3al-29 mash3al-29 closed this by deleting the head repository Oct 26, 2024
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.

1 participant