mirror of
https://github.com/tc39/test262.git
synced 2025-08-28 13:28:38 +02:00
14 lines
485 B
JavaScript
14 lines
485 B
JavaScript
// 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 and caseFirst are processed correctly.
|
|
* @author Norbert Lindenberg
|
|
*/
|
|
|
|
$INCLUDE("testIntl.js");
|
|
|
|
testOption(Intl.Collator, "numeric", "boolean", undefined, undefined, {isOptional: true});
|
|
testOption(Intl.Collator, "caseFirst", "string", ["upper", "lower", "false"], undefined, {isOptional: true});
|
|
|