benkeen / generatedata

A powerful, feature-rich, random test data generator.
https://generatedata.com
2.22k stars 611 forks source link

utils.randomUtils.generateRandomTextStr logical error #826

Closed benkeen closed 1 year ago

benkeen commented 1 year ago

For TextFixed, I noticed it's not ever returning the last item:

utils.randomUtils.generateRandomTextStr(words, false, numWordsToGenerate);

e.g. when words is an array of 4 items.