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 | 75fbd71ee0a39c76cf035e744dc28e408bff7c6f (patch) | |
tree | 96d6e4c14b410aea94ed1c63d16636ec8ce225d0 /console | |
parent | bcf9c18061df63a233d01a0ea191c0b1135c42a4 (diff) |
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 'console')
-rw-r--r-- | console/harness/testBuiltInObject.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/console/harness/testBuiltInObject.js b/console/harness/testBuiltInObject.js index e8eb39c67..3a8d24fdc 100644 --- a/console/harness/testBuiltInObject.js +++ b/console/harness/testBuiltInObject.js @@ -58,7 +58,8 @@ function testBuiltInObject(obj, isFunction, isConstructor, properties, length) { } if (obj.length !== length) { - $ERROR("Function's length property doesn't have specified value."); + $ERROR("Function's length property doesn't have specified value; expected " + + length + ", got " + obj.length + "."); } var desc = Object.getOwnPropertyDescriptor(obj, "length"); |