diff options
| author | Matt Mayer <[email protected]> | 2023-01-10 01:45:24 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-09 19:45:24 +0100 |
| commit | 27dff93aa27d755874aa5022c78f17ff8e9cf7e0 (patch) | |
| tree | d992a444d05ee9916f76631eb93a7a1a2bdac974 /test | |
| parent | 35f386989ec77fb89f1a91a51572aee0a8c5b571 (diff) | |
| download | faker-27dff93aa27d755874aa5022c78f17ff8e9cf7e0.tar.xz faker-27dff93aa27d755874aa5022c78f17ff8e9cf7e0.zip | |
feat(person): split prefix into gendered versions (#1665)
Diffstat (limited to 'test')
| -rw-r--r-- | test/__snapshots__/person.spec.ts.snap | 10 | ||||
| -rw-r--r-- | test/all_functional.spec.ts | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/__snapshots__/person.spec.ts.snap b/test/__snapshots__/person.spec.ts.snap index 593d9978..cac08c1a 100644 --- a/test/__snapshots__/person.spec.ts.snap +++ b/test/__snapshots__/person.spec.ts.snap @@ -34,9 +34,9 @@ exports[`person > 42 > middleName > noArgs 1`] = `"Greer"`; exports[`person > 42 > middleName > with sex 1`] = `"Houston"`; -exports[`person > 42 > prefix > noArgs 1`] = `"Mrs."`; +exports[`person > 42 > prefix > noArgs 1`] = `"Miss"`; -exports[`person > 42 > prefix > with sex 1`] = `"Mrs."`; +exports[`person > 42 > prefix > with sex 1`] = `"Mr."`; exports[`person > 42 > sex > noArgs 1`] = `"female"`; @@ -84,7 +84,7 @@ exports[`person > 1211 > middleName > noArgs 1`] = `"Sawyer"`; exports[`person > 1211 > middleName > with sex 1`] = `"Walter"`; -exports[`person > 1211 > prefix > noArgs 1`] = `"Dr."`; +exports[`person > 1211 > prefix > noArgs 1`] = `"Ms."`; exports[`person > 1211 > prefix > with sex 1`] = `"Dr."`; @@ -134,9 +134,9 @@ exports[`person > 1337 > middleName > noArgs 1`] = `"Dakota"`; exports[`person > 1337 > middleName > with sex 1`] = `"Ethan"`; -exports[`person > 1337 > prefix > noArgs 1`] = `"Mrs."`; +exports[`person > 1337 > prefix > noArgs 1`] = `"Miss"`; -exports[`person > 1337 > prefix > with sex 1`] = `"Mrs."`; +exports[`person > 1337 > prefix > with sex 1`] = `"Mr."`; exports[`person > 1337 > sex > noArgs 1`] = `"female"`; diff --git a/test/all_functional.spec.ts b/test/all_functional.spec.ts index abc34d82..26b15144 100644 --- a/test/all_functional.spec.ts +++ b/test/all_functional.spec.ts @@ -31,7 +31,7 @@ const BROKEN_LOCALE_METHODS = { stateAbbr: ['cz', 'sk'], }, person: { - prefix: ['az', 'id_ID', 'ru'], + prefix: ['az', 'id_ID', 'ru', 'zh_CN', 'zh_TW'], suffix: ['az', 'it', 'mk', 'pt_PT', 'ru'], }, }; |
