blob: feeb8522c2c5fc7c800d24ed389f5918a3947fb5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
load(libdir + "asserts.js");
assertErrorMessage(
() => gcparam('minNurseryBytes', 0),
Error,
"Parameter value out of range");
assertErrorMessage(
() => gcparam('maxNurseryBytes', 256*1024*1024),
Error,
"Parameter value out of range");
// This is both bigger than the maximum and out of range. but there's no way
// to test out of range without testing bigger than the maximum.
assertErrorMessage(
() => gcparam('minNurseryBytes', 256*1024*1024),
Error,
"Parameter value out of range");
|