mirror of
https://github.com/tc39/test262.git
synced 2025-07-21 21:14:45 +02:00
s/assertEquals/assert.sameValue/g (#1324)
Ref f1602088e6 (commitcomment-25237057)
This commit is contained in:
parent
fafd465454
commit
f8456c6dac
@ -21,8 +21,8 @@ verifyProperty(BigInt.prototype, Symbol.toStringTag, {
|
|||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
|
|
||||||
assertEquals("[object BigInt]", Object.prototype.toString.call(3n));
|
assert.sameValue("[object BigInt]", Object.prototype.toString.call(3n));
|
||||||
assertEquals("[object BigInt]", Object.prototype.toString.call(Object(3n)));
|
assert.sameValue("[object BigInt]", Object.prototype.toString.call(Object(3n)));
|
||||||
|
|
||||||
// Verify that Object.prototype.toString does not have special casing for BigInt
|
// Verify that Object.prototype.toString does not have special casing for BigInt
|
||||||
// as it does for most other primitive types
|
// as it does for most other primitive types
|
||||||
@ -33,5 +33,5 @@ Object.defineProperty(BigInt.prototype, {
|
|||||||
configurable: true
|
configurable: true
|
||||||
});
|
});
|
||||||
|
|
||||||
assertEquals("[object FooBar]", Object.prototype.toString.call(3n));
|
assert.sameValue("[object FooBar]", Object.prototype.toString.call(3n));
|
||||||
assertEquals("[object FooBar]", Object.prototype.toString.call(Object(3n)));
|
assert.sameValue("[object FooBar]", Object.prototype.toString.call(Object(3n)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user