From f1b576af510bd94da7a2f12320b92fb46782ee2e Mon Sep 17 00:00:00 2001
From: Rick Waldron <waldron.rick@gmail.com>
Date: Thu, 19 Oct 2017 11:50:53 -0400
Subject: [PATCH] BigInt: BigInt .toString() returns only decimal digits, does
 not include BigIntLiteralSuffix

---
 ...ng-is-code-units-of-decimal-digits-only.js | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 test/built-ins/BigInt/prototype/toString/string-is-code-units-of-decimal-digits-only.js

diff --git a/test/built-ins/BigInt/prototype/toString/string-is-code-units-of-decimal-digits-only.js b/test/built-ins/BigInt/prototype/toString/string-is-code-units-of-decimal-digits-only.js
new file mode 100644
index 0000000000..f876732792
--- /dev/null
+++ b/test/built-ins/BigInt/prototype/toString/string-is-code-units-of-decimal-digits-only.js
@@ -0,0 +1,21 @@
+// Copyright 2017 Rick Waldron. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-tostring-applied-to-the-bigint-type
+description: BigInt .toString() returns only decimal digits, does not include BigIntLiteralSuffix
+info: |
+
+  ToString Applied to the BigInt Type
+
+    The abstract operation ToString converts a BigInt i to String format as follows:
+
+    ...
+    Return the String consisting of the code units of the digits of the decimal representation of i.
+
+features: [BigInt]
+---*/
+
+assert.sameValue(BigInt(0).toString(), "0", "BigInt(0).toString() === '0'");
+assert.sameValue(BigInt(0n).toString(), "0", "BigInt(0n).toString() === '0'");
+assert.sameValue(0n.toString(), "0", "0n.toString() === '0'");
-- 
GitLab