Simplify make.text.any
This commit is contained in:
parent
e7773ee307
commit
5726fc4e2c
1 changed files with 1 additions and 2 deletions
|
@ -196,8 +196,7 @@ make.text = {
|
||||||
// TODO: Len calculation take from DOMFuzz - maybe we should revise this?
|
// 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.number(1000) * random.number(10) + random.number(10)
|
||||||
for (let i=0; i<len; i++) {
|
for (let i=0; i<len; i++) {
|
||||||
let t = make.text.chars()
|
s += make.text.chars()
|
||||||
s += random.pick(t);
|
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue