summaryrefslogtreecommitdiff
path: root/test/suite/intl402/ch10/10.1/10.1.1_13.js
blob: b0f1bbc8ed3037741c13b76901d854a52fa2819f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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});