From 02f20f4e11d710636561d489a617cd8cb5048026 Mon Sep 17 00:00:00 2001
From: Ms2ger <Ms2ger@igalia.com>
Date: Fri, 6 Jul 2018 12:29:43 +0200
Subject: [PATCH] Add a test for Object.prototype.toString with Intl.Segmenter
 objects.

---
 .../Segmenter/prototype/toStringTag/toString.js  | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 test/intl402/Segmenter/prototype/toStringTag/toString.js

diff --git a/test/intl402/Segmenter/prototype/toStringTag/toString.js b/test/intl402/Segmenter/prototype/toStringTag/toString.js
new file mode 100644
index 0000000000..a86d9fad39
--- /dev/null
+++ b/test/intl402/Segmenter/prototype/toStringTag/toString.js
@@ -0,0 +1,16 @@
+// Copyright 2018 Igalia, S.L. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-intl.Segmenter.prototype-@@tostringtag
+description: >
+    Checks Object.prototype.toString with Intl.Segmenter objects.
+info: |
+    Intl.Segmenter.prototype[ @@toStringTag ]
+
+    The initial value of the @@toStringTag property is the string value "Intl.Segmenter".
+features: [Intl.Segmenter]
+---*/
+
+assert.sameValue(Object.prototype.toString.call(Intl.Segmenter.prototype), "[object Intl.Segmenter]");
+assert.sameValue(Object.prototype.toString.call(new Intl.Segmenter()), "[object Intl.Segmenter]");
-- 
GitLab