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

feat: adding locale to word module #932

Merged
merged 35 commits into from
Oct 3, 2024

Conversation

gustavobastian
Copy link
Contributor

In this PR, the word module has incorporate the locale feature. All previous functions (ej, faker::word::sample()) can receive a locale parameter(it is necessary to pass the length argument, ej: sample(7,faker::locale::en_US)).

@cieslarmichal cieslarmichal linked an issue Oct 1, 2024 that may be closed by this pull request
CMakeLists.txt Outdated Show resolved Hide resolved
include/faker-cxx/word.h Outdated Show resolved Hide resolved
tests/modules/string_test.cpp Outdated Show resolved Hide resolved
tests/modules/word_test.cpp Show resolved Hide resolved
include/faker-cxx/word.h Outdated Show resolved Hide resolved
include/faker-cxx/word.h Outdated Show resolved Hide resolved
tests/modules/word_test.cpp Outdated Show resolved Hide resolved
tests/modules/word_test.cpp Outdated Show resolved Hide resolved
tests/modules/word_test.cpp Outdated Show resolved Hide resolved
Copy link
Owner

@cieslarmichal cieslarmichal left a comment

Choose a reason for hiding this comment

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

Test fails: WordTestLocale.shouldGenerateWords/es_AR

@cieslarmichal cieslarmichal merged commit 3aef81d into cieslarmichal:main Oct 3, 2024
12 checks 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.

add locale to word module
2 participants