aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ufuzz.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ufuzz.js b/test/ufuzz.js
index 702e2078..578103e8 100644
--- a/test/ufuzz.js
+++ b/test/ufuzz.js
@@ -353,7 +353,7 @@ function createParams() {
function createArgs(recurmax, stmtDepth, canThrow) {
var args = [];
for (var n = rng(4); --n >= 0;) {
- args.push(createExpression(recurmax, COMMA_OK, stmtDepth, canThrow));
+ args.push(rng(2) ? createValue() : createExpression(recurmax - 1, COMMA_OK, stmtDepth, canThrow));
}
return args.join(', ');
}