mirror of https://github.com/tc39/test262.git
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
|
||||
});
|
||||
|
||||
assertEquals("[object BigInt]", Object.prototype.toString.call(3n));
|
||||
assertEquals("[object BigInt]", Object.prototype.toString.call(Object(3n)));
|
||||
assert.sameValue("[object BigInt]", Object.prototype.toString.call(3n));
|
||||
assert.sameValue("[object BigInt]", Object.prototype.toString.call(Object(3n)));
|
||||
|
||||
// Verify that Object.prototype.toString does not have special casing for BigInt
|
||||
// as it does for most other primitive types
|
||||
|
@ -33,5 +33,5 @@ Object.defineProperty(BigInt.prototype, {
|
|||
configurable: true
|
||||
});
|
||||
|
||||
assertEquals("[object FooBar]", Object.prototype.toString.call(3n));
|
||||
assertEquals("[object FooBar]", Object.prototype.toString.call(Object(3n)));
|
||||
assert.sameValue("[object FooBar]", Object.prototype.toString.call(3n));
|
||||
assert.sameValue("[object FooBar]", Object.prototype.toString.call(Object(3n)));
|
||||
|
|
Loading…
Reference in New Issue