summaryrefslogtreecommitdiff
path: root/test/built-ins/BigInt/prototype/Symbol.toStringTag.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/BigInt/prototype/Symbol.toStringTag.js')
-rw-r--r--test/built-ins/BigInt/prototype/Symbol.toStringTag.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/built-ins/BigInt/prototype/Symbol.toStringTag.js b/test/built-ins/BigInt/prototype/Symbol.toStringTag.js
index 146369719..ab55f2125 100644
--- a/test/built-ins/BigInt/prototype/Symbol.toStringTag.js
+++ b/test/built-ins/BigInt/prototype/Symbol.toStringTag.js
@@ -20,18 +20,3 @@ verifyProperty(BigInt.prototype, Symbol.toStringTag, {
enumerable: false,
configurable: true
});
-
-assert.sameValue(Object.prototype.toString.call(3n), "[object BigInt]");
-assert.sameValue(Object.prototype.toString.call(Object(3n)), "[object BigInt]");
-
-// Verify that Object.prototype.toString does not have special casing for BigInt
-// as it does for most other primitive types
-Object.defineProperty(BigInt.prototype, Symbol.toStringTag, {
- value: "FooBar",
- writable: false,
- enumerable: false,
- configurable: true
-});
-
-assert.sameValue(Object.prototype.toString.call(3n), "[object FooBar]");
-assert.sameValue(Object.prototype.toString.call(Object(3n)), "[object FooBar]");