Skip to content

Commit

Permalink
refactor:Fix Netherlands typo (Issue #331) (#341)
Browse files Browse the repository at this point in the history
* refactor:Fix Netherlands typo (Issue #331)

* refactor:Fix Netherlands typo (Issue #331) 101a
  • Loading branch information
qmohitsingh authored Nov 25, 2023
1 parent 0bbc251 commit 7b18850
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions include/faker-cxx/types/Country.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ enum class Country
Austria,
Switzerland,
Belgium,
Nederlands,
Netherlands,
China,
Korea,
Canada,
Expand All @@ -59,7 +59,7 @@ const std::vector<Country> countries{
Country::Nepal, Country::Spain, Country::Turkey, Country::Czech, Country::Slovakia,
Country::Ukraine, Country::Denmark, Country::Sweden, Country::Brazil, Country::Norway,
Country::Japan, Country::Portugal, Country::Hungary, Country::Croatia, Country::Greece,
Country::Slovenia, Country::Austria, Country::Switzerland, Country::Belgium, Country::Nederlands,
Country::Slovenia, Country::Austria, Country::Switzerland, Country::Belgium, Country::Netherlands,
Country::China, Country::Korea, Country::Canada, Country::Mexico, Country::Argentina,
Country::Australia, Country::Serbia, Country::Macedonia, Country::Albania, Country::Latvia, Country::Ireland,
Country::Belarus, Country::Estonia,
Expand Down Expand Up @@ -97,7 +97,7 @@ inline std::string toString(Country country)
{Country::Austria, "Austria"},
{Country::Switzerland, "Switzerland"},
{Country::Belgium, "Belgium"},
{Country::Nederlands, "Nederlands"},
{Country::Netherlands, "Netherlands"},
{Country::China, "China"},
{Country::Korea, "Korea"},
{Country::Canada, "Canada"},
Expand Down
4 changes: 2 additions & 2 deletions src/modules/person/Person.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include "data/macedonia/MacedonianPeopleNames.h"
#include "data/mexico/MexicanPeopleNames.h"
#include "data/Nationalities.h"
#include "data/nederlands/DutchPeopleNames.h"
#include "data/netherlands/DutchPeopleNames.h"
#include "data/nepal/NepalesePeopleNames.h"
#include "data/norway/NorwegianPeopleNames.h"
#include "data/poland/PolishPeopleNames.h"
Expand Down Expand Up @@ -78,7 +78,7 @@ const std::map<Country, PeopleNames> countryToPeopleNamesMapping{
{Country::Hungary, hungarianPeopleNames}, {Country::Croatia, croatianPeopleNames},
{Country::Greece, greekPeopleNames}, {Country::Slovenia, slovenianPeopleNames},
{Country::Austria, austrianPeopleNames}, {Country::Switzerland, swissPeopleNames},
{Country::Belgium, belgianPeopleNames}, {Country::Nederlands, dutchPeopleNames},
{Country::Belgium, belgianPeopleNames}, {Country::Netherlands, dutchPeopleNames},
{Country::China, chinesePeopleNames}, {Country::Korea, koreanPeopleNames},
{Country::Canada, canadianPeopleNames}, {Country::Mexico, mexicanPeopleNames},
{Country::Argentina, argentinianPeopleNames}, {Country::Australia, australianPeopleNames},
Expand Down
6 changes: 3 additions & 3 deletions src/modules/person/PersonTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "data/macedonia/MacedonianPeopleNames.h"
#include "data/mexico/MexicanPeopleNames.h"
#include "data/Nationalities.h"
#include "data/nederlands/DutchPeopleNames.h"
#include "data/netherlands/DutchPeopleNames.h"
#include "data/nepal/NepalesePeopleNames.h"
#include "data/norway/NorwegianPeopleNames.h"
#include "data/poland/PolishPeopleNames.h"
Expand Down Expand Up @@ -78,7 +78,7 @@ const std::map<Country, PeopleNames> countryToPeopleNamesMapping{
{Country::Hungary, hungarianPeopleNames}, {Country::Croatia, croatianPeopleNames},
{Country::Greece, greekPeopleNames}, {Country::Slovenia, slovenianPeopleNames},
{Country::Austria, austrianPeopleNames}, {Country::Switzerland, swissPeopleNames},
{Country::Belgium, belgianPeopleNames}, {Country::Nederlands, dutchPeopleNames},
{Country::Belgium, belgianPeopleNames}, {Country::Netherlands, dutchPeopleNames},
{Country::China, chinesePeopleNames}, {Country::Korea, koreanPeopleNames},
{Country::Canada, canadianPeopleNames}, {Country::Mexico, mexicanPeopleNames},
{Country::Argentina, argentinianPeopleNames}, {Country::Australia, australianPeopleNames},
Expand All @@ -103,7 +103,7 @@ const std::map<Country, std::string> generatedTestName{
{Country::Hungary, "shouldGenerateHungarianName"}, {Country::Croatia, "shouldGenerateCroatianName"},
{Country::Greece, "shouldGenerateGreekName"}, {Country::Slovenia, "shouldGenerateSlovenianName"},
{Country::Austria, "shouldGenerateAustrianName"}, {Country::Switzerland, "shouldGenerateSwissName"},
{Country::Belgium, "shouldGenerateBelgianName"}, {Country::Nederlands, "shouldGenerateDutchName"},
{Country::Belgium, "shouldGenerateBelgianName"}, {Country::Netherlands, "shouldGenerateDutchName"},
{Country::China, "shouldGenerateChineseName"}, {Country::Korea, "shouldGenerateKoreanName"},
{Country::Canada, "shouldGenerateCanadianName"}, {Country::Mexico, "shouldGenerateMexicanName"},
{Country::Argentina, "shouldGenerateArgentinianName"}, {Country::Australia, "shouldGenerateAustralianName"},
Expand Down

0 comments on commit 7b18850

Please sign in to comment.