aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgriest024 <[email protected]>2022-08-05 12:51:15 -0500
committerGitHub <[email protected]>2022-08-05 17:51:15 +0000
commit0668cfe393368f59feffbb0e96540603bc2d8755 (patch)
treec2f7daa495a78a97b168e0655a3df0da1b2d68b4
parent01cacd5592c93587f73de35f70f74b01b85bce26 (diff)
downloadfaker-0668cfe393368f59feffbb0e96540603bc2d8755.tar.xz
faker-0668cfe393368f59feffbb0e96540603bc2d8755.zip
locale(en): remove word examples that contain spaces (#281)
Co-authored-by: ST-DDT <[email protected]>
-rw-r--r--src/locales/en/word/conjunction.ts35
-rw-r--r--src/locales/en/word/interjection.ts3
-rw-r--r--src/locales/en/word/noun.ts5
-rw-r--r--test/__snapshots__/internet.spec.ts.snap18
-rw-r--r--test/__snapshots__/word.spec.ts.snap30
5 files changed, 37 insertions, 54 deletions
diff --git a/src/locales/en/word/conjunction.ts b/src/locales/en/word/conjunction.ts
index 8e03623b..e8efddeb 100644
--- a/src/locales/en/word/conjunction.ts
+++ b/src/locales/en/word/conjunction.ts
@@ -1,64 +1,53 @@
export default [
'after',
- 'after all',
'although',
'and',
'as',
- 'as a result',
- 'as if',
- 'as long as',
- 'as much as',
- 'as soon as',
- 'as though',
'because',
'before',
'but',
'consequently',
'even',
- 'even if',
- 'even though',
'finally',
'for',
- 'for example',
'furthermore',
'hence',
+ 'how',
'however',
'if',
- 'if only',
- 'if then',
- 'if when',
- 'in addition',
- 'in fact',
- 'in order that',
'inasmuch',
'incidentally',
'indeed',
'instead',
- 'just as',
'lest',
'likewise',
'meanwhile',
'nor',
'now',
- 'now since',
- 'now that',
- 'now when',
'once',
'or',
'provided',
- 'provided that',
- 'rather than',
'since',
'so',
- 'so that',
'supposing',
+ 'than',
'that',
'though',
+ 'till',
+ 'unless',
'until',
+ 'what',
+ 'when',
'whenever',
+ 'where',
'whereas',
'wherever',
+ 'whether',
'which',
+ 'while',
'who',
+ 'whoever',
+ 'whose',
+ 'why',
'yet',
];
diff --git a/src/locales/en/word/interjection.ts b/src/locales/en/word/interjection.ts
index c092f108..5afc4c9b 100644
--- a/src/locales/en/word/interjection.ts
+++ b/src/locales/en/word/interjection.ts
@@ -7,7 +7,7 @@ export default [
'whoa',
'yowza',
'huzzah',
- 'boo hoo',
+ 'boohoo',
'fooey',
'geez',
'pfft',
@@ -33,7 +33,6 @@ export default [
'duh',
'ha',
'mmm',
- 'tsk tsk',
'ouch',
'phew',
'ack',
diff --git a/src/locales/en/word/noun.ts b/src/locales/en/word/noun.ts
index 3f5ca896..da46f56e 100644
--- a/src/locales/en/word/noun.ts
+++ b/src/locales/en/word/noun.ts
@@ -1363,7 +1363,6 @@ export default [
'consumer',
'consumption',
'contact',
- 'contact lens',
'contagion',
'container',
'content',
@@ -1507,7 +1506,6 @@ export default [
'credit',
'creditor',
'creek',
- 'creme brulee',
'crepe',
'crest',
'crew',
@@ -1962,9 +1960,7 @@ export default [
'dulcimer',
'dumbwaiter',
'dump',
- 'dump truck',
'dune',
- 'dune buggy',
'dungarees',
'dungeon',
'duplexer',
@@ -1972,7 +1968,6 @@ export default [
'durian',
'dusk',
'dust',
- 'dust storm',
'duster',
'duty',
'dwarf',
diff --git a/test/__snapshots__/internet.spec.ts.snap b/test/__snapshots__/internet.spec.ts.snap
index 75f60a81..bf5e94a4 100644
--- a/test/__snapshots__/internet.spec.ts.snap
+++ b/test/__snapshots__/internet.spec.ts.snap
@@ -6,11 +6,11 @@ exports[`internet > 42 > color > noArgs 1`] = `"#30667a"`;
exports[`internet > 42 > color > with color base 1`] = `"#6298ac"`;
-exports[`internet > 42 > domainName 1`] = `"harmonious-shift.org"`;
+exports[`internet > 42 > domainName 1`] = `"harmonious-shin.org"`;
exports[`internet > 42 > domainSuffix 1`] = `"info"`;
-exports[`internet > 42 > domainWord 1`] = `"harmonious-shift"`;
+exports[`internet > 42 > domainWord 1`] = `"harmonious-shin"`;
exports[`internet > 42 > email > noArgs 1`] = `"[email protected]"`;
@@ -52,7 +52,7 @@ exports[`internet > 42 > port 1`] = `24545`;
exports[`internet > 42 > protocol 1`] = `"http"`;
-exports[`internet > 42 > url 1`] = `"http://stable-vehicle.biz"`;
+exports[`internet > 42 > url 1`] = `"http://stable-veil.biz"`;
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"`;
@@ -66,11 +66,11 @@ exports[`internet > 1211 > color > noArgs 1`] = `"#773a72"`;
exports[`internet > 1211 > color > with color base 1`] = `"#a96ca4"`;
-exports[`internet > 1211 > domainName 1`] = `"verifiable-infection.org"`;
+exports[`internet > 1211 > domainName 1`] = `"verifiable-infix.org"`;
exports[`internet > 1211 > domainSuffix 1`] = `"org"`;
-exports[`internet > 1211 > domainWord 1`] = `"verifiable-infection"`;
+exports[`internet > 1211 > domainWord 1`] = `"verifiable-infix"`;
exports[`internet > 1211 > email > noArgs 1`] = `"[email protected]"`;
@@ -112,7 +112,7 @@ exports[`internet > 1211 > port 1`] = `60851`;
exports[`internet > 1211 > protocol 1`] = `"https"`;
-exports[`internet > 1211 > url 1`] = `"https://joyous-temperature.net"`;
+exports[`internet > 1211 > url 1`] = `"https://joyous-temple.net"`;
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"`;
@@ -126,11 +126,11 @@ exports[`internet > 1337 > color > noArgs 1`] = `"#214814"`;
exports[`internet > 1337 > color > with color base 1`] = `"#537a46"`;
-exports[`internet > 1337 > domainName 1`] = `"fabulous-might.com"`;
+exports[`internet > 1337 > domainName 1`] = `"fabulous-migration.com"`;
exports[`internet > 1337 > domainSuffix 1`] = `"biz"`;
-exports[`internet > 1337 > domainWord 1`] = `"fabulous-might"`;
+exports[`internet > 1337 > domainWord 1`] = `"fabulous-migration"`;
exports[`internet > 1337 > email > noArgs 1`] = `"[email protected]"`;
@@ -172,7 +172,7 @@ exports[`internet > 1337 > port 1`] = `17172`;
exports[`internet > 1337 > protocol 1`] = `"http"`;
-exports[`internet > 1337 > url 1`] = `"http://neat-chopsticks.biz"`;
+exports[`internet > 1337 > url 1`] = `"http://neat-chopstick.biz"`;
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__/word.spec.ts.snap b/test/__snapshots__/word.spec.ts.snap
index 76ca9d16..6a3c7575 100644
--- a/test/__snapshots__/word.spec.ts.snap
+++ b/test/__snapshots__/word.spec.ts.snap
@@ -12,11 +12,11 @@ exports[`word > 42 > adverb > with length = 10 1`] = `"generously"`;
exports[`word > 42 > adverb > with length = 20 1`] = `"jealously"`;
-exports[`word > 42 > conjunction > noArgs 1`] = `"however"`;
+exports[`word > 42 > conjunction > noArgs 1`] = `"instead"`;
-exports[`word > 42 > conjunction > with length = 10 1`] = `"as much as"`;
+exports[`word > 42 > conjunction > with length = 10 1`] = `"instead"`;
-exports[`word > 42 > conjunction > with length = 20 1`] = `"however"`;
+exports[`word > 42 > conjunction > with length = 20 1`] = `"instead"`;
exports[`word > 42 > interjection > noArgs 1`] = `"yahoo"`;
@@ -24,11 +24,11 @@ exports[`word > 42 > interjection > with length = 10 1`] = `"yahoo"`;
exports[`word > 42 > interjection > with length = 20 1`] = `"yahoo"`;
-exports[`word > 42 > noun > noArgs 1`] = `"gale"`;
+exports[`word > 42 > noun > noArgs 1`] = `"galley"`;
-exports[`word > 42 > noun > with length = 10 1`] = `"exposition"`;
+exports[`word > 42 > noun > with length = 10 1`] = `"extinction"`;
-exports[`word > 42 > noun > with length = 20 1`] = `"gale"`;
+exports[`word > 42 > noun > with length = 20 1`] = `"galley"`;
exports[`word > 42 > preposition > noArgs 1`] = `"concerning"`;
@@ -54,11 +54,11 @@ exports[`word > 1211 > adverb > with length = 10 1`] = `"unbearably"`;
exports[`word > 1211 > adverb > with length = 20 1`] = `"viciously"`;
-exports[`word > 1211 > conjunction > noArgs 1`] = `"whereas"`;
+exports[`word > 1211 > conjunction > noArgs 1`] = `"whoever"`;
-exports[`word > 1211 > conjunction > with length = 10 1`] = `"as soon as"`;
+exports[`word > 1211 > conjunction > with length = 10 1`] = `"whoever"`;
-exports[`word > 1211 > conjunction > with length = 20 1`] = `"whereas"`;
+exports[`word > 1211 > conjunction > with length = 20 1`] = `"whoever"`;
exports[`word > 1211 > interjection > noArgs 1`] = `"er"`;
@@ -66,11 +66,11 @@ exports[`word > 1211 > interjection > with length = 10 1`] = `"er"`;
exports[`word > 1211 > interjection > with length = 20 1`] = `"er"`;
-exports[`word > 1211 > noun > noArgs 1`] = `"trick"`;
+exports[`word > 1211 > noun > noArgs 1`] = `"trigger"`;
exports[`word > 1211 > noun > with length = 10 1`] = `"trafficker"`;
-exports[`word > 1211 > noun > with length = 20 1`] = `"trick"`;
+exports[`word > 1211 > noun > with length = 20 1`] = `"trigger"`;
exports[`word > 1211 > preposition > noArgs 1`] = `"upon"`;
@@ -96,11 +96,11 @@ exports[`word > 1337 > adverb > with length = 10 1`] = `"enormously"`;
exports[`word > 1337 > adverb > with length = 20 1`] = `"frankly"`;
-exports[`word > 1337 > conjunction > noArgs 1`] = `"even if"`;
+exports[`word > 1337 > conjunction > noArgs 1`] = `"how"`;
-exports[`word > 1337 > conjunction > with length = 10 1`] = `"as long as"`;
+exports[`word > 1337 > conjunction > with length = 10 1`] = `"how"`;
-exports[`word > 1337 > conjunction > with length = 20 1`] = `"even if"`;
+exports[`word > 1337 > conjunction > with length = 20 1`] = `"how"`;
exports[`word > 1337 > interjection > noArgs 1`] = `"ew"`;
@@ -110,7 +110,7 @@ exports[`word > 1337 > interjection > with length = 20 1`] = `"ew"`;
exports[`word > 1337 > noun > noArgs 1`] = `"digit"`;
-exports[`word > 1337 > noun > with length = 10 1`] = `"depressive"`;
+exports[`word > 1337 > noun > with length = 10 1`] = `"depression"`;
exports[`word > 1337 > noun > with length = 20 1`] = `"digit"`;