aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatt Mayer <[email protected]>2023-01-19 03:15:47 +0700
committerGitHub <[email protected]>2023-01-18 20:15:47 +0000
commitdfa647dc07ea25f962c4df913bae2de082e8acc4 (patch)
tree07004698a53751324800516a01f1d42da4281538 /test
parent250fbb71eb68aa469b6b833a61a4d23fb60ad65d (diff)
downloadfaker-dfa647dc07ea25f962c4df913bae2de082e8acc4.tar.xz
faker-dfa647dc07ea25f962c4df913bae2de082e8acc4.zip
fix(locale): filter inappropriate words in the en locale (#1745)
Diffstat (limited to 'test')
-rw-r--r--test/__snapshots__/internet.spec.ts.snap30
-rw-r--r--test/__snapshots__/person.spec.ts.snap2
-rw-r--r--test/__snapshots__/random.spec.ts.snap2
-rw-r--r--test/__snapshots__/system.spec.ts.snap14
-rw-r--r--test/__snapshots__/word.spec.ts.snap62
5 files changed, 55 insertions, 55 deletions
diff --git a/test/__snapshots__/internet.spec.ts.snap b/test/__snapshots__/internet.spec.ts.snap
index 45913d97..bd8121a4 100644
--- a/test/__snapshots__/internet.spec.ts.snap
+++ b/test/__snapshots__/internet.spec.ts.snap
@@ -16,11 +16,11 @@ exports[`internet > 42 > displayName > with Latin names 1`] = `"Jane_Doe"`;
exports[`internet > 42 > displayName > with accented names 1`] = `"Hélene_Müller"`;
-exports[`internet > 42 > domainName 1`] = `"hasty-shipyard.org"`;
+exports[`internet > 42 > domainName 1`] = `"hasty-sherbet.org"`;
exports[`internet > 42 > domainSuffix 1`] = `"info"`;
-exports[`internet > 42 > domainWord 1`] = `"hasty-shipyard"`;
+exports[`internet > 42 > domainWord 1`] = `"hasty-sherbet"`;
exports[`internet > 42 > email > noArgs 1`] = `"[email protected]"`;
@@ -62,11 +62,11 @@ exports[`internet > 42 > port 1`] = `24545`;
exports[`internet > 42 > protocol 1`] = `"http"`;
-exports[`internet > 42 > url > noArgs 1`] = `"https://staid-vegetation.biz/"`;
+exports[`internet > 42 > url > noArgs 1`] = `"https://staid-vegetable.biz/"`;
-exports[`internet > 42 > url > with slash appended 1`] = `"https://hasty-shipyard.org/"`;
+exports[`internet > 42 > url > with slash appended 1`] = `"https://hasty-sherbet.org/"`;
-exports[`internet > 42 > url > without slash appended and with http protocol 1`] = `"http://hasty-shipyard.org"`;
+exports[`internet > 42 > url > without slash appended and with http protocol 1`] = `"http://hasty-sherbet.org"`;
exports[`internet > 42 > userAgent 1`] = `"Mozilla/5.0 (Windows; U; Windows NT 6.2) AppleWebKit/538.0.2 (KHTML, like Gecko) Chrome/29.0.815.0 Safari/538.0.2"`;
@@ -96,11 +96,11 @@ exports[`internet > 1211 > displayName > with Latin names 1`] = `"Jane.Doe89"`;
exports[`internet > 1211 > displayName > with accented names 1`] = `"Hélene.Müller89"`;
-exports[`internet > 1211 > domainName 1`] = `"vibrant-infusion.org"`;
+exports[`internet > 1211 > domainName 1`] = `"vicious-infrastructure.org"`;
exports[`internet > 1211 > domainSuffix 1`] = `"org"`;
-exports[`internet > 1211 > domainWord 1`] = `"vibrant-infusion"`;
+exports[`internet > 1211 > domainWord 1`] = `"vicious-infrastructure"`;
exports[`internet > 1211 > email > noArgs 1`] = `"[email protected]"`;
@@ -142,11 +142,11 @@ exports[`internet > 1211 > port 1`] = `60851`;
exports[`internet > 1211 > protocol 1`] = `"https"`;
-exports[`internet > 1211 > url > noArgs 1`] = `"https://jubilant-tempo.net"`;
+exports[`internet > 1211 > url > noArgs 1`] = `"https://judicious-teletype.net"`;
-exports[`internet > 1211 > url > with slash appended 1`] = `"https://vibrant-infusion.org/"`;
+exports[`internet > 1211 > url > with slash appended 1`] = `"https://vicious-infrastructure.org/"`;
-exports[`internet > 1211 > url > without slash appended and with http protocol 1`] = `"http://vibrant-infusion.org"`;
+exports[`internet > 1211 > url > without slash appended and with http protocol 1`] = `"http://vicious-infrastructure.org"`;
exports[`internet > 1211 > userAgent 1`] = `"Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6 rv:3.0; PT) AppleWebKit/538.2.0 (KHTML, like Gecko) Version/4.1.0 Safari/538.2.0"`;
@@ -176,11 +176,11 @@ exports[`internet > 1337 > displayName > with Latin names 1`] = `"Jane56"`;
exports[`internet > 1337 > displayName > with accented names 1`] = `"Hélene56"`;
-exports[`internet > 1337 > domainName 1`] = `"faithful-milestone.com"`;
+exports[`internet > 1337 > domainName 1`] = `"fair-mile.com"`;
exports[`internet > 1337 > domainSuffix 1`] = `"biz"`;
-exports[`internet > 1337 > domainWord 1`] = `"faithful-milestone"`;
+exports[`internet > 1337 > domainWord 1`] = `"fair-mile"`;
exports[`internet > 1337 > email > noArgs 1`] = `"[email protected]"`;
@@ -222,11 +222,11 @@ exports[`internet > 1337 > port 1`] = `17172`;
exports[`internet > 1337 > protocol 1`] = `"http"`;
-exports[`internet > 1337 > url > noArgs 1`] = `"https://necessary-chowder.biz/"`;
+exports[`internet > 1337 > url > noArgs 1`] = `"https://needy-chow.biz/"`;
-exports[`internet > 1337 > url > with slash appended 1`] = `"https://faithful-milestone.com/"`;
+exports[`internet > 1337 > url > with slash appended 1`] = `"https://fair-mile.com/"`;
-exports[`internet > 1337 > url > without slash appended and with http protocol 1`] = `"http://faithful-milestone.com"`;
+exports[`internet > 1337 > url > without slash appended and with http protocol 1`] = `"http://fair-mile.com"`;
exports[`internet > 1337 > userAgent 1`] = `"Mozilla/5.0 (Windows; U; Windows NT 6.1) AppleWebKit/532.0.0 (KHTML, like Gecko) Chrome/13.0.832.0 Safari/532.0.0"`;
diff --git a/test/__snapshots__/person.spec.ts.snap b/test/__snapshots__/person.spec.ts.snap
index cac08c1a..3a4fbe85 100644
--- a/test/__snapshots__/person.spec.ts.snap
+++ b/test/__snapshots__/person.spec.ts.snap
@@ -50,7 +50,7 @@ exports[`person > 42 > suffix > with sex 1`] = `"III"`;
exports[`person > 42 > zodiacSign 1`] = `"Gemini"`;
-exports[`person > 1211 > bio 1`] = `"infusion supporter, photographer 🙆‍♀️"`;
+exports[`person > 1211 > bio 1`] = `"infrastructure supporter, photographer 🙆‍♀️"`;
exports[`person > 1211 > firstName > noArgs 1`] = `"Tito"`;
diff --git a/test/__snapshots__/random.spec.ts.snap b/test/__snapshots__/random.spec.ts.snap
index 5fe3e02c..b442d3e5 100644
--- a/test/__snapshots__/random.spec.ts.snap
+++ b/test/__snapshots__/random.spec.ts.snap
@@ -18,7 +18,7 @@ exports[`random > 42 > word 1`] = `"responsive"`;
exports[`random > 42 > words > noArgs 1`] = `"lavender Shoes"`;
-exports[`random > 42 > words > with length 1`] = `"responsive comma Neptunium Hip deposit"`;
+exports[`random > 42 > words > with length 1`] = `"responsive comics Neptunium Hip deposit"`;
exports[`random > 42 > words > with length range 1`] = `"lavender Shoes"`;
diff --git a/test/__snapshots__/system.spec.ts.snap b/test/__snapshots__/system.spec.ts.snap
index edb8e00c..50c9dc45 100644
--- a/test/__snapshots__/system.spec.ts.snap
+++ b/test/__snapshots__/system.spec.ts.snap
@@ -2,9 +2,9 @@
exports[`system > 42 > commonFileExt 1`] = `"png"`;
-exports[`system > 42 > commonFileName > noArgs 1`] = `"noon_stump.png"`;
+exports[`system > 42 > commonFileName > noArgs 1`] = `"nondisclosure_stud.png"`;
-exports[`system > 42 > commonFileName > with extension 1`] = `"noon_stump.ext"`;
+exports[`system > 42 > commonFileName > with extension 1`] = `"nondisclosure_stud.ext"`;
exports[`system > 42 > commonFileType 1`] = `"audio"`;
@@ -24,13 +24,13 @@ exports[`system > 42 > fileExt > noArgs 1`] = `"lrm"`;
exports[`system > 42 > fileExt > with mimeType 1`] = `"json"`;
-exports[`system > 42 > fileName > noArgs 1`] = `"noon_stump.skt"`;
+exports[`system > 42 > fileName > noArgs 1`] = `"nondisclosure_stud.skt"`;
-exports[`system > 42 > fileName > with extensionCount 1`] = `"noon_stump.skt.latex"`;
+exports[`system > 42 > fileName > with extensionCount 1`] = `"nondisclosure_stud.skt.latex"`;
-exports[`system > 42 > fileName > with extensionCount range 1`] = `"noon_stump.latex"`;
+exports[`system > 42 > fileName > with extensionCount range 1`] = `"nondisclosure_stud.latex"`;
-exports[`system > 42 > filePath 1`] = `"/opt/bin/crooked_fantasise_woefully.dra"`;
+exports[`system > 42 > filePath 1`] = `"/opt/bin/crooked_falter_woefully.dra"`;
exports[`system > 42 > fileType 1`] = `"image"`;
@@ -190,7 +190,7 @@ exports[`system > 1337 > fileName > with extensionCount 1`] = `"although.chrt.dp
exports[`system > 1337 > fileName > with extensionCount range 1`] = `"although"`;
-exports[`system > 1337 > filePath 1`] = `"/Library/yum_fat.aiff"`;
+exports[`system > 1337 > filePath 1`] = `"/Library/yum_fast.aiff"`;
exports[`system > 1337 > fileType 1`] = `"font"`;
diff --git a/test/__snapshots__/word.spec.ts.snap b/test/__snapshots__/word.spec.ts.snap
index 80fce35c..6191f6b9 100644
--- a/test/__snapshots__/word.spec.ts.snap
+++ b/test/__snapshots__/word.spec.ts.snap
@@ -48,11 +48,11 @@ exports[`word > 42 > interjection > with options.length and options.strategy 1`]
exports[`word > 42 > interjection > with options.strategy 1`] = `"ah"`;
-exports[`word > 42 > noun > noArgs 1`] = `"gaming"`;
+exports[`word > 42 > noun > noArgs 1`] = `"gamma-ray"`;
exports[`word > 42 > noun > with length = 10 1`] = `"extinction"`;
-exports[`word > 42 > noun > with length = 20 1`] = `"gaming"`;
+exports[`word > 42 > noun > with length = 20 1`] = `"gamma-ray"`;
exports[`word > 42 > noun > with options.length 1`] = `"extinction"`;
@@ -84,11 +84,11 @@ exports[`word > 42 > sample > with options.length and options.strategy 1`] = `"g
exports[`word > 42 > sample > with options.strategy 1`] = `"aw"`;
-exports[`word > 42 > verb > noArgs 1`] = `"gain"`;
+exports[`word > 42 > verb > noArgs 1`] = `"furrow"`;
exports[`word > 42 > verb > with length = 10 1`] = `"exhilarate"`;
-exports[`word > 42 > verb > with length = 20 1`] = `"gain"`;
+exports[`word > 42 > verb > with length = 20 1`] = `"furrow"`;
exports[`word > 42 > verb > with options.length 1`] = `"exhilarate"`;
@@ -96,21 +96,21 @@ exports[`word > 42 > verb > with options.length and options.strategy 1`] = `"ins
exports[`word > 42 > verb > with options.strategy 1`] = `"cc"`;
-exports[`word > 42 > words > noArgs 1`] = `"noon stump"`;
+exports[`word > 42 > words > noArgs 1`] = `"nondisclosure stud"`;
-exports[`word > 42 > words > with count = 10 1`] = `"eek loudly alibi abnormally aw grenade nor without conscientize mini"`;
+exports[`word > 42 > words > with count = 10 1`] = `"eek loudly alibi abnormally aw grenade nor without connote mind"`;
-exports[`word > 42 > words > with count = 20 1`] = `"eek loudly alibi abnormally aw grenade nor without conscientize mini prayer till gadzooks yippee unblock gentle between official yowza horn"`;
+exports[`word > 42 > words > with count = 20 1`] = `"eek loudly alibi abnormally aw grenade nor without connote mind power till gadzooks yippee unban generous between old-fashioned yowza hoof"`;
-exports[`word > 42 > words > with options.count 1`] = `"eek loudly alibi abnormally aw grenade nor without conscientize mini"`;
+exports[`word > 42 > words > with options.count 1`] = `"eek loudly alibi abnormally aw grenade nor without connote mind"`;
-exports[`word > 42 > words > with options.count range 1`] = `"noon stump across dreamily accurate cite boo newsstand loftily through diagnose about when boohoo grin busily to grouchy beneath"`;
+exports[`word > 42 > words > with options.count range 1`] = `"nondisclosure stud across dreamily accurate circumvent boo news loftily through devoice about when boohoo graze busily to grouchy beneath"`;
-exports[`word > 1211 > adjective > noArgs 1`] = `"vibrant"`;
+exports[`word > 1211 > adjective > noArgs 1`] = `"vicious"`;
exports[`word > 1211 > adjective > with length = 10 1`] = `"unpleasant"`;
-exports[`word > 1211 > adjective > with length = 20 1`] = `"vibrant"`;
+exports[`word > 1211 > adjective > with length = 20 1`] = `"vicious"`;
exports[`word > 1211 > adjective > with options.length 1`] = `"unpleasant"`;
@@ -154,11 +154,11 @@ exports[`word > 1211 > interjection > with options.length and options.strategy 1
exports[`word > 1211 > interjection > with options.strategy 1`] = `"um"`;
-exports[`word > 1211 > noun > noArgs 1`] = `"trigger"`;
+exports[`word > 1211 > noun > noArgs 1`] = `"tribe"`;
exports[`word > 1211 > noun > with length = 10 1`] = `"trafficker"`;
-exports[`word > 1211 > noun > with length = 20 1`] = `"trigger"`;
+exports[`word > 1211 > noun > with length = 20 1`] = `"tribe"`;
exports[`word > 1211 > noun > with options.length 1`] = `"trafficker"`;
@@ -190,11 +190,11 @@ exports[`word > 1211 > sample > with options.length and options.strategy 1`] = `
exports[`word > 1211 > sample > with options.strategy 1`] = `"too"`;
-exports[`word > 1211 > verb > noArgs 1`] = `"trifle"`;
+exports[`word > 1211 > verb > noArgs 1`] = `"trick"`;
exports[`word > 1211 > verb > with length = 10 1`] = `"trampoline"`;
-exports[`word > 1211 > verb > with length = 20 1`] = `"trifle"`;
+exports[`word > 1211 > verb > with length = 20 1`] = `"trick"`;
exports[`word > 1211 > verb > with options.length 1`] = `"trampoline"`;
@@ -204,19 +204,19 @@ exports[`word > 1211 > verb > with options.strategy 1`] = `"up"`;
exports[`word > 1211 > words > noArgs 1`] = `"although instantly though"`;
-exports[`word > 1211 > words > with count = 10 1`] = `"youthfully woot speedily gracefully poorly hydraulics aw contraindicate thin moon"`;
+exports[`word > 1211 > words > with count = 10 1`] = `"youthfully woot speedily gracefully poorly hybridization aw contort third monument"`;
-exports[`word > 1211 > words > with count = 20 1`] = `"youthfully woot speedily gracefully poorly hydraulics aw contraindicate thin moon clack for morbidity muddle score consequently whether per upon but"`;
+exports[`word > 1211 > words > with count = 20 1`] = `"youthfully woot speedily gracefully poorly hybridization aw contort third monument civilize for moose moult schoolhouse consequently whether per upon but"`;
-exports[`word > 1211 > words > with options.count 1`] = `"youthfully woot speedily gracefully poorly hydraulics aw contraindicate thin moon"`;
+exports[`word > 1211 > words > with options.count 1`] = `"youthfully woot speedily gracefully poorly hybridization aw contort third monument"`;
-exports[`word > 1211 > words > with options.count range 1`] = `"although instantly though which zowie samovar except punishment frightened contort argument kindheartedly nice combine out perch intervene minus upgrade excitedly"`;
+exports[`word > 1211 > words > with options.count range 1`] = `"although instantly though which zowie salesman except pumpernickel friendly contest arena kindheartedly nifty combination out pencil interpenetrate minus upchange excitedly"`;
-exports[`word > 1337 > adjective > noArgs 1`] = `"faithful"`;
+exports[`word > 1337 > adjective > noArgs 1`] = `"fair"`;
exports[`word > 1337 > adjective > with length = 10 1`] = `"equatorial"`;
-exports[`word > 1337 > adjective > with length = 20 1`] = `"faithful"`;
+exports[`word > 1337 > adjective > with length = 20 1`] = `"fair"`;
exports[`word > 1337 > adjective > with options.length 1`] = `"equatorial"`;
@@ -260,13 +260,13 @@ exports[`word > 1337 > interjection > with options.length and options.strategy 1
exports[`word > 1337 > interjection > with options.strategy 1`] = `"ah"`;
-exports[`word > 1337 > noun > noArgs 1`] = `"diner"`;
+exports[`word > 1337 > noun > noArgs 1`] = `"dining"`;
-exports[`word > 1337 > noun > with length = 10 1`] = `"depression"`;
+exports[`word > 1337 > noun > with length = 10 1`] = `"deposition"`;
-exports[`word > 1337 > noun > with length = 20 1`] = `"diner"`;
+exports[`word > 1337 > noun > with length = 20 1`] = `"dining"`;
-exports[`word > 1337 > noun > with options.length 1`] = `"depression"`;
+exports[`word > 1337 > noun > with options.length 1`] = `"deposition"`;
exports[`word > 1337 > noun > with options.length and options.strategy 1`] = `"cross-contamination"`;
@@ -296,11 +296,11 @@ exports[`word > 1337 > sample > with options.length and options.strategy 1`] = `
exports[`word > 1337 > sample > with options.strategy 1`] = `"if"`;
-exports[`word > 1337 > verb > noArgs 1`] = `"disregard"`;
+exports[`word > 1337 > verb > noArgs 1`] = `"dispossess"`;
exports[`word > 1337 > verb > with length = 10 1`] = `"denominate"`;
-exports[`word > 1337 > verb > with length = 20 1`] = `"disregard"`;
+exports[`word > 1337 > verb > with length = 20 1`] = `"dispossess"`;
exports[`word > 1337 > verb > with options.length 1`] = `"denominate"`;
@@ -310,10 +310,10 @@ exports[`word > 1337 > verb > with options.strategy 1`] = `"be"`;
exports[`word > 1337 > words > noArgs 1`] = `"although"`;
-exports[`word > 1337 > words > with count = 10 1`] = `"nor brr instead anenst intently hard latency teem vaccinate required"`;
+exports[`word > 1337 > words > with count = 10 1`] = `"nor brr instead anenst intently hard lashes team utilize respectful"`;
-exports[`word > 1337 > words > with count = 20 1`] = `"nor brr instead anenst intently hard latency teem vaccinate required concentrate the where duh ugh emission leaflet rudely planula setting"`;
+exports[`word > 1337 > words > with count = 20 1`] = `"nor brr instead anenst intently hard lashes team utilize respectful conceal the where duh ugh emotion lavish rudely planet servant"`;
-exports[`word > 1337 > words > with options.count 1`] = `"nor brr instead anenst intently hard latency teem vaccinate required"`;
+exports[`word > 1337 > words > with options.count 1`] = `"nor brr instead anenst intently hard lashes team utilize respectful"`;
-exports[`word > 1337 > words > with options.count range 1`] = `"although within along limply lovingly elegantly imprison mail underneath afraid nor abrogate oof within gosh against elbow salt"`;
+exports[`word > 1337 > words > with options.count range 1`] = `"although within along limply lovingly elegantly imply maid underneath advanced nor abrogate oof within gosh against egg rush"`;