Reduce generated string size
This commit is contained in:
parent
272a6b614c
commit
236ccfeddb
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue