mirror of https://github.com/tc39/test262.git
Fix #2605; make safe-integer.js call isSafeInteger
The folder and file name implies it should be using isSafeInteger rather than isInteger which it was using.
This commit is contained in:
parent
429c60ec38
commit
9da54d053d
|
@ -15,9 +15,9 @@ info: |
|
|||
[...]
|
||||
---*/
|
||||
|
||||
assert.sameValue(Number.isInteger(1), true, "1");
|
||||
assert.sameValue(Number.isInteger(-0), true, "-0");
|
||||
assert.sameValue(Number.isInteger(0), true, "0");
|
||||
assert.sameValue(Number.isInteger(-1), true, "-1");
|
||||
assert.sameValue(Number.isInteger(9007199254740991), true, "9007199254740991");
|
||||
assert.sameValue(Number.isInteger(-9007199254740991), true, "-9007199254740991");
|
||||
assert.sameValue(Number.isSafeInteger(1), true, "1");
|
||||
assert.sameValue(Number.isSafeInteger(-0), true, "-0");
|
||||
assert.sameValue(Number.isSafeInteger(0), true, "0");
|
||||
assert.sameValue(Number.isSafeInteger(-1), true, "-1");
|
||||
assert.sameValue(Number.isSafeInteger(9007199254740991), true, "9007199254740991");
|
||||
assert.sameValue(Number.isSafeInteger(-9007199254740991), true, "-9007199254740991");
|
||||
|
|
Loading…
Reference in New Issue