diff options
author | Norbert Lindenberg <ecmascript@lindenbergsoftware.com> | 2012-09-10 11:53:56 -0700 |
---|---|---|
committer | Norbert Lindenberg <ecmascript@lindenbergsoftware.com> | 2012-09-10 11:53:56 -0700 |
commit | dd97fbee5f6a00e3a57068ef4f9b37ea34aaea28 (patch) | |
tree | 96d6e4c14b410aea94ed1c63d16636ec8ce225d0 /test/suite/intl402/ch12/12.1/12.1.1_18.js | |
parent | b4c705306b472ec8067e0e3e02f051585c65bbff (diff) | |
download | test262-dd97fbee5f6a00e3a57068ef4f9b37ea34aaea28.tar.gz |
Updated tests for ECMAScript Internationalization API spec changes; made small enhancements.
- Updated DateTimeFormat tests for new handling of hour12 options property.
- Added a few invalid language tags to test of IsStructurallyValidLanguageTag.
- Added user-defined language tag to test of CanonicalizeLanguageTag.
- Added test for the Intl property of the global object.
Diffstat (limited to 'test/suite/intl402/ch12/12.1/12.1.1_18.js')
-rw-r--r-- | test/suite/intl402/ch12/12.1/12.1.1_18.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/suite/intl402/ch12/12.1/12.1.1_18.js b/test/suite/intl402/ch12/12.1/12.1.1_18.js index e061c0daf..f75ea1e32 100644 --- a/test/suite/intl402/ch12/12.1/12.1.1_18.js +++ b/test/suite/intl402/ch12/12.1/12.1.1_18.js @@ -8,5 +8,8 @@ $INCLUDE("testIntl.js"); -testOption(Intl.DateTimeFormat, "hour12", "boolean"); +testOption(Intl.DateTimeFormat, "hour12", "boolean", undefined, undefined, + {extra: {any: {hour: "numeric", minute: "numeric"}}}); +testOption(Intl.DateTimeFormat, "hour12", "boolean", undefined, undefined, + {noReturn: true}); |