test262/test/intl402/NumberFormat/test-option-useGrouping.js
Mike Pennisi ef78452924 Add tests for "Intl NumberFormat v3" proposal
This patch is intended to cover only one aspect of the proposal for
ECMA402: the "grouping enum" feature. It also includes coverage for the
formatting option as already defined by the latest version of ECMA402.
2021-11-30 14:52:57 -05:00

18 lines
721 B
JavaScript

// Copyright 2012 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 11.1.1_34
description: Tests that the option useGrouping is processed correctly.
info: |
The "Intl.NumberFormat v3" proposal contradicts the behavior required by the
latest revision of ECMA402. Likewise, this test contradicts
test-option-useGrouping-extended.js. Until the proposal is included in a
published standard (when the tests' discrepancies can be resolved),
implementations should only expect to pass one of these two tests.
author: Norbert Lindenberg
includes: [testIntl.js]
---*/
testOption(Intl.NumberFormat, "useGrouping", "boolean", undefined, true);