mirror of https://github.com/tc39/test262.git
Add Date.UTC(+/-Infinity) single arg test variants to infinity-make-day.js
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
This commit is contained in:
parent
1163e1a6ff
commit
8178b763dc
|
@ -14,6 +14,9 @@ info: |
|
|||
NaN.
|
||||
---*/
|
||||
|
||||
assert.sameValue(Date.UTC(Infinity), NaN, 'year: Infinity - single arg');
|
||||
assert.sameValue(Date.UTC(-Infinity), NaN, 'year: -Infinity - single arg');
|
||||
|
||||
assert.sameValue(Date.UTC(Infinity, 0), NaN, 'year: Infinity');
|
||||
assert.sameValue(Date.UTC(-Infinity, 0), NaN, 'year: -Infinity');
|
||||
|
||||
|
@ -22,3 +25,4 @@ assert.sameValue(Date.UTC(0, -Infinity), NaN, 'month: -Infinity');
|
|||
|
||||
assert.sameValue(Date.UTC(0, 0, Infinity), NaN, 'date: Infinity');
|
||||
assert.sameValue(Date.UTC(0, 0, -Infinity), NaN, 'date: -Infinity');
|
||||
|
||||
|
|
Loading…
Reference in New Issue