aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/intl402/ch10/10.1/10.1.1_13.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/intl402/ch10/10.1/10.1.1_13.js')
-rw-r--r--test/suite/intl402/ch10/10.1/10.1.1_13.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/suite/intl402/ch10/10.1/10.1.1_13.js b/test/suite/intl402/ch10/10.1/10.1.1_13.js
new file mode 100644
index 000000000..b0f1bbc8e
--- /dev/null
+++ b/test/suite/intl402/ch10/10.1/10.1.1_13.js
@@ -0,0 +1,14 @@
+// Copyright 2012 Mozilla Corporation. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/**
+ * @description Tests that the options numeric, normalization, and caseFirst are processed correctly.
+ * @author Norbert Lindenberg
+ */
+
+$INCLUDE("testIntl.js");
+
+testOption(Intl.Collator, "numeric", "boolean", undefined, undefined, {isOptional: true});
+testOption(Intl.Collator, "normalization", "boolean", undefined, undefined, {isOptional: true});
+testOption(Intl.Collator, "caseFirst", "string", ["upper", "lower", "false"], undefined, {isOptional: true});
+