s/assertEquals/assert.sameValue/g (#1324)

Ref f1602088e6 (commitcomment-25237057)
This commit is contained in:
Leo Balter 2017-10-27 12:20:34 -04:00 committed by GitHub
parent fafd465454
commit f8456c6dac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -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)));