Fix assertion for Number.MIN_VALUE >= 0n

Ref https://github.com/tc39/test262/pull/1198#discussion_r137060514
This commit is contained in:
Leo Balter 2017-09-05 13:40:37 -04:00 committed by Rick Waldron
parent e44d73733b
commit 2f655036d4
1 changed files with 1 additions and 1 deletions

View File

@ -31,6 +31,6 @@ assert.sameValue(0 >= 1n, false);
assert.sameValue(0 >= 0n, true); assert.sameValue(0 >= 0n, true);
assert.sameValue(0n >= 0, true); assert.sameValue(0n >= 0, true);
assert.sameValue(1n >= Number.MAX_VALUE, false); assert.sameValue(1n >= Number.MAX_VALUE, false);
assert.sameValue(Number.MIN_VALUE >= 0n, false); assert.sameValue(Number.MIN_VALUE >= 0n, true);
assert.sameValue(-10n >= Number.MIN_VALUE, true); assert.sameValue(-10n >= Number.MIN_VALUE, true);
assert.sameValue(Number.MAX_VALUE >= 10000000000n, true); assert.sameValue(Number.MAX_VALUE >= 10000000000n, true);