aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2017-11-05 12:49:14 +0800
committerGitHub <noreply@github.com>2017-11-05 12:49:14 +0800
commit25a18883f5130ae809e1e38c226948576a2a4e90 (patch)
tree7ebcc7cb45c5c184eec2c2841f690d96847db60b
parent5b4b07e9a7d67e593c6ae8d54dc77d174afd25ac (diff)
downloadtracifyjs-25a18883f5130ae809e1e38c226948576a2a4e90.tar.gz
tracifyjs-25a18883f5130ae809e1e38c226948576a2a4e90.zip
tweak #2424 (#2432)
-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(', ');
}