test-option-numeric-and-caseFirst.js (529B)
1 // Copyright 2012 Mozilla Corporation. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 es5id: 10.1.1_13 6 description: > 7 Tests that the options numeric and caseFirst are processed 8 correctly. 9 author: Norbert Lindenberg 10 includes: [testIntl.js] 11 ---*/ 12 13 testOption(Intl.Collator, "numeric", "boolean", undefined, undefined, {isOptional: true}); 14 testOption(Intl.Collator, "caseFirst", "string", ["upper", "lower", "false"], undefined, {isOptional: true}); 15 16 reportCompare(0, 0);