diff options
| author | Leyla Jähnig <[email protected]> | 2022-08-29 13:02:02 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-08-29 11:02:02 +0000 |
| commit | c2108fa5db889bb1455a5735934776bcf91fabac (patch) | |
| tree | c56000d64e55e3f893fafc50642d041b6a614bc5 /test | |
| parent | df789f5cf0407416667173595009810071e96eab (diff) | |
| download | faker-c2108fa5db889bb1455a5735934776bcf91fabac.tar.xz faker-c2108fa5db889bb1455a5735934776bcf91fabac.zip | |
fix(random): retry on invalid word generation (#1307)
Diffstat (limited to 'test')
| -rw-r--r-- | test/__snapshots__/random.spec.ts.snap | 18 | ||||
| -rw-r--r-- | test/__snapshots__/system.spec.ts.snap | 48 |
2 files changed, 33 insertions, 33 deletions
diff --git a/test/__snapshots__/random.spec.ts.snap b/test/__snapshots__/random.spec.ts.snap index fe0e8969..ce472e97 100644 --- a/test/__snapshots__/random.spec.ts.snap +++ b/test/__snapshots__/random.spec.ts.snap @@ -14,11 +14,11 @@ exports[`random > 42 > numeric > noArgs 1`] = `"4"`; exports[`random > 42 > numeric > withLength 1`] = `"47917"`; -exports[`random > 42 > word 1`] = `"impactful"`; +exports[`random > 42 > word 1`] = `"responsive"`; -exports[`random > 42 > words > noArgs 1`] = `"mobile Fish"`; +exports[`random > 42 > words > noArgs 1`] = `"lavender Shoes"`; -exports[`random > 42 > words > withLength 1`] = `"impactful Directives transmit Home initiatives"`; +exports[`random > 42 > words > withLength 1`] = `"responsive comeback Neptunium Hip deposit"`; exports[`random > 1211 > alpha > noArgs 1`] = `"y"`; @@ -34,11 +34,11 @@ exports[`random > 1211 > numeric > noArgs 1`] = `"9"`; exports[`random > 1211 > numeric > withLength 1`] = `"94872"`; -exports[`random > 1211 > word 1`] = `"Division"`; +exports[`random > 1211 > word 1`] = `"gah"`; -exports[`random > 1211 > words > noArgs 1`] = `"functionalities Frozen Baby"`; +exports[`random > 1211 > words > noArgs 1`] = `"invoice Cyclocross assault"`; -exports[`random > 1211 > words > withLength 1`] = `"Division Forward purple Supervisor Peso"`; +exports[`random > 1211 > words > withLength 1`] = `"gah strictly Rustic assault Manager"`; exports[`random > 1337 > alpha > noArgs 1`] = `"g"`; @@ -54,8 +54,8 @@ exports[`random > 1337 > numeric > noArgs 1`] = `"3"`; exports[`random > 1337 > numeric > withLength 1`] = `"35122"`; -exports[`random > 1337 > word 1`] = `"Organic"`; +exports[`random > 1337 > word 1`] = `"Bespoke"`; -exports[`random > 1337 > words > noArgs 1`] = `"Delaware"`; +exports[`random > 1337 > words > noArgs 1`] = `"nesciunt"`; -exports[`random > 1337 > words > withLength 1`] = `"Organic Bike interactive core Montenegro"`; +exports[`random > 1337 > words > withLength 1`] = `"Bespoke connect Folsom Sleek Folk"`; diff --git a/test/__snapshots__/system.spec.ts.snap b/test/__snapshots__/system.spec.ts.snap index f3eda41a..3cbabb8f 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`] = `"mobile_fish.mpe"`; +exports[`system > 42 > commonFileName > noArgs 1`] = `"lavender_shoes.mpe"`; -exports[`system > 42 > commonFileName > with extension 1`] = `"mobile_fish.ext"`; +exports[`system > 42 > commonFileName > with extension 1`] = `"lavender_shoes.ext"`; exports[`system > 42 > commonFileType 1`] = `"audio"`; @@ -14,11 +14,11 @@ exports[`system > 42 > fileExt > noArgs 1`] = `"lrm"`; exports[`system > 42 > fileExt > with mimeType 1`] = `"json"`; -exports[`system > 42 > fileName > noArgs 1`] = `"mobile_fish.jxsc"`; +exports[`system > 42 > fileName > noArgs 1`] = `"lavender_shoes.jxsc"`; -exports[`system > 42 > fileName > with extensionCount 1`] = `"mobile_fish.jxsc.jardiff"`; +exports[`system > 42 > fileName > with extensionCount 1`] = `"lavender_shoes.jxsc.jardiff"`; -exports[`system > 42 > filePath 1`] = `"/opt/bin/directives_transmit_home.ptid"`; +exports[`system > 42 > filePath 1`] = `"/opt/bin/comeback_neptunium_hip.ptid"`; exports[`system > 42 > fileType 1`] = `"image"`; @@ -70,9 +70,9 @@ exports[`system > 42 > semver 1`] = `"3.7.9"`; exports[`system > 1211 > commonFileExt 1`] = `"htm"`; -exports[`system > 1211 > commonFileName > noArgs 1`] = `"functionalities_frozen_baby.m2a"`; +exports[`system > 1211 > commonFileName > noArgs 1`] = `"invoice_cyclocross_assault.mp4"`; -exports[`system > 1211 > commonFileName > with extension 1`] = `"functionalities_frozen_baby.ext"`; +exports[`system > 1211 > commonFileName > with extension 1`] = `"invoice_cyclocross_assault.ext"`; exports[`system > 1211 > commonFileType 1`] = `"application"`; @@ -82,11 +82,11 @@ exports[`system > 1211 > fileExt > noArgs 1`] = `"dic"`; exports[`system > 1211 > fileExt > with mimeType 1`] = `"map"`; -exports[`system > 1211 > fileName > noArgs 1`] = `"functionalities_frozen_baby.tsd"`; +exports[`system > 1211 > fileName > noArgs 1`] = `"invoice_cyclocross_assault.z2"`; -exports[`system > 1211 > fileName > with extensionCount 1`] = `"functionalities_frozen_baby.tsd.xml"`; +exports[`system > 1211 > fileName > with extensionCount 1`] = `"invoice_cyclocross_assault.z2.tsd"`; -exports[`system > 1211 > filePath 1`] = `"/var/log/forward_purple.avi"`; +exports[`system > 1211 > filePath 1`] = `"/var/log/strictly_rustic.avi"`; exports[`system > 1211 > fileType 1`] = `"x-shader"`; @@ -138,9 +138,9 @@ exports[`system > 1211 > semver 1`] = `"9.4.8"`; exports[`system > 1337 > commonFileExt 1`] = `"wav"`; -exports[`system > 1337 > commonFileName > noArgs 1`] = `"delaware.mp2"`; +exports[`system > 1337 > commonFileName > noArgs 1`] = `"nesciunt.mp2"`; -exports[`system > 1337 > commonFileName > with extension 1`] = `"delaware.ext"`; +exports[`system > 1337 > commonFileName > with extension 1`] = `"nesciunt.ext"`; exports[`system > 1337 > commonFileType 1`] = `"audio"`; @@ -150,11 +150,11 @@ exports[`system > 1337 > fileExt > noArgs 1`] = `"oa3"`; exports[`system > 1337 > fileExt > with mimeType 1`] = `"json"`; -exports[`system > 1337 > fileName > noArgs 1`] = `"delaware.cmc"`; +exports[`system > 1337 > fileName > noArgs 1`] = `"nesciunt.cmc"`; -exports[`system > 1337 > fileName > with extensionCount 1`] = `"delaware.cmc.kml"`; +exports[`system > 1337 > fileName > with extensionCount 1`] = `"nesciunt.cmc.kml"`; -exports[`system > 1337 > filePath 1`] = `"/Library/bike_interactive.link66"`; +exports[`system > 1337 > filePath 1`] = `"/Library/duane_folsom.dpg"`; exports[`system > 1337 > fileType 1`] = `"font"`; @@ -206,7 +206,7 @@ exports[`system > 1337 > semver 1`] = `"2.5.1"`; exports[`system > seed: 42 > commonFileExt() 1`] = `"png"`; -exports[`system > seed: 42 > commonFileName() 1`] = `"mobile_fish.mpe"`; +exports[`system > seed: 42 > commonFileName() 1`] = `"lavender_shoes.mpe"`; exports[`system > seed: 42 > commonFileType() 1`] = `"audio"`; @@ -214,9 +214,9 @@ exports[`system > seed: 42 > directoryPath() 1`] = `"/opt/bin"`; exports[`system > seed: 42 > fileExt() 1`] = `"lrm"`; -exports[`system > seed: 42 > fileName() 1`] = `"mobile_fish.jxsc"`; +exports[`system > seed: 42 > fileName() 1`] = `"lavender_shoes.jxsc"`; -exports[`system > seed: 42 > filePath() 1`] = `"/opt/bin/directives_transmit_home.ptid"`; +exports[`system > seed: 42 > filePath() 1`] = `"/opt/bin/comeback_neptunium_hip.ptid"`; exports[`system > seed: 42 > fileType() 1`] = `"image"`; @@ -228,7 +228,7 @@ exports[`system > seed: 42 > semver() 1`] = `"3.7.9"`; exports[`system > seed: 1211 > commonFileExt() 1`] = `"htm"`; -exports[`system > seed: 1211 > commonFileName() 1`] = `"functionalities_frozen_baby.m2a"`; +exports[`system > seed: 1211 > commonFileName() 1`] = `"invoice_cyclocross_assault.mp4"`; exports[`system > seed: 1211 > commonFileType() 1`] = `"application"`; @@ -236,9 +236,9 @@ exports[`system > seed: 1211 > directoryPath() 1`] = `"/var/log"`; exports[`system > seed: 1211 > fileExt() 1`] = `"dic"`; -exports[`system > seed: 1211 > fileName() 1`] = `"functionalities_frozen_baby.tsd"`; +exports[`system > seed: 1211 > fileName() 1`] = `"invoice_cyclocross_assault.z2"`; -exports[`system > seed: 1211 > filePath() 1`] = `"/var/log/forward_purple.avi"`; +exports[`system > seed: 1211 > filePath() 1`] = `"/var/log/strictly_rustic.avi"`; exports[`system > seed: 1211 > fileType() 1`] = `"x-shader"`; @@ -250,7 +250,7 @@ exports[`system > seed: 1211 > semver() 1`] = `"9.4.8"`; exports[`system > seed: 1337 > commonFileExt() 1`] = `"wav"`; -exports[`system > seed: 1337 > commonFileName() 1`] = `"delaware.mp2"`; +exports[`system > seed: 1337 > commonFileName() 1`] = `"nesciunt.mp2"`; exports[`system > seed: 1337 > commonFileType() 1`] = `"audio"`; @@ -258,9 +258,9 @@ exports[`system > seed: 1337 > directoryPath() 1`] = `"/Library"`; exports[`system > seed: 1337 > fileExt() 1`] = `"oa3"`; -exports[`system > seed: 1337 > fileName() 1`] = `"delaware.cmc"`; +exports[`system > seed: 1337 > fileName() 1`] = `"nesciunt.cmc"`; -exports[`system > seed: 1337 > filePath() 1`] = `"/Library/bike_interactive.link66"`; +exports[`system > seed: 1337 > filePath() 1`] = `"/Library/duane_folsom.dpg"`; exports[`system > seed: 1337 > fileType() 1`] = `"font"`; |
