summaryrefslogtreecommitdiff
path: root/test/suite/intl402/ch10/10.3/10.3.1.js
diff options
context:
space:
mode:
authorNorbert Lindenberg <ecmascript@lindenbergsoftware.com>2012-08-22 18:06:31 -0700
committerNorbert Lindenberg <ecmascript@lindenbergsoftware.com>2012-08-22 18:06:31 -0700
commit11b493d63e6aa3c05d60210d67e122a8904a293d (patch)
treecbc970bfb21140d7c5aa45ee6a6810e78e3429e7 /test/suite/intl402/ch10/10.3/10.3.1.js
parentb8c591008f671c8675d46e60c39704d9098811a7 (diff)
downloadtest262-11b493d63e6aa3c05d60210d67e122a8904a293d.tar.gz
Moved Google tests from ch11 to ch10.
--HG-- rename : test/suite/intl402/ch11/11.2/11.2.1.js => test/suite/intl402/ch10/10.2/10.2.1.js rename : test/suite/intl402/ch11/11.2/11.2.2.js => test/suite/intl402/ch10/10.2/10.2.2.js rename : test/suite/intl402/ch11/11.2/11.2.3.js => test/suite/intl402/ch10/10.2/10.2.3.js rename : test/suite/intl402/ch11/11.2/11.2.js => test/suite/intl402/ch10/10.2/10.2.js rename : test/suite/intl402/ch11/11.3/11.3.1.js => test/suite/intl402/ch10/10.3/10.3.1.js rename : test/suite/intl402/ch11/11.3/11.3.js => test/suite/intl402/ch10/10.3/10.3.js
Diffstat (limited to 'test/suite/intl402/ch10/10.3/10.3.1.js')
-rw-r--r--test/suite/intl402/ch10/10.3/10.3.1.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/suite/intl402/ch10/10.3/10.3.1.js b/test/suite/intl402/ch10/10.3/10.3.1.js
new file mode 100644
index 000000000..699949e18
--- /dev/null
+++ b/test/suite/intl402/ch10/10.3/10.3.1.js
@@ -0,0 +1,13 @@
+// Copyright 2012 Google Inc. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @description Tests that Intl.Collator.prototype.constructor is the
+ * Intl.Collator.
+ */
+
+if (Intl.Collator.prototype.constructor !== Intl.Collator) {
+ $ERROR("Intl.Collator.prototype.constructor is not the same as " +
+ "Intl.Collator");
+}
+