提交 4dce2691 编写于 作者: Z zhaoyuan17@huawei.com

fix codex

Signed-off-by: Nzhaoyuan17@huawei.com <zhaoyuan17@huawei.com>
上级 415cee2a
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
var RANDOM_BEGIN_POSITION = 0; var RANDOM_BEGIN_POSITION = 0;
var RANDOM_BEGIN_POSITION_A = 2; var RANDOM_BEGIN_POSITION_A = 2;
var STRING_RANDOM_LENGTH = 2064; var STRING_RANDOM_LENGTH = 2064;
var ASCII_RANDOM_LENGTH = 256;
var BOOLEAN_RANDOM_LENGTH = 2; var BOOLEAN_RANDOM_LENGTH = 2;
var ARRAY_RANDOM_LENGTH = 10; var ARRAY_RANDOM_LENGTH = 10;
var ARRAY_RANDOM_TYPE_LENGTH = 3; var ARRAY_RANDOM_TYPE_LENGTH = 3;
...@@ -83,13 +82,13 @@ const booleanTest = function() { ...@@ -83,13 +82,13 @@ const booleanTest = function() {
return Boolean(getIntegerRandom(RANDOM_BEGIN_POSITION, BOOLEAN_RANDOM_LENGTH)); return Boolean(getIntegerRandom(RANDOM_BEGIN_POSITION, BOOLEAN_RANDOM_LENGTH));
} }
// return null // null
const nullTest = function() { const nullTest = function() {
console.log("The nullTest of this fuzzTest random" ); console.log("The nullTest of this fuzzTest random" );
return null; return null;
} }
// return undefinedTest // undefined
const undefinedTest = function() { const undefinedTest = function() {
console.log("The undefinedTest of this fuzzTest random" ); console.log("The undefinedTest of this fuzzTest random" );
return undefined; return undefined;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册