Reduce generated string size

This commit is contained in:
pyoor 2017-06-30 13:19:31 -07:00
parent 272a6b614c
commit 236ccfeddb

View file

@ -216,7 +216,7 @@ make.text = {
// This might be too slow to used for all 'texts' uses
let s = ''
// TODO: Len calculation take from DOMFuzz - maybe we should revise this?
let len = random.number(1000) * random.number(10) + random.number(10)
let len = random.pick([make.number.tiny, make.number.range])
for (let i = 0; i < len; i++) {
s += make.text.chars()
}