aboutsummaryrefslogtreecommitdiffstats
path: root/test/harness/testBuiltInObject.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/harness/testBuiltInObject.js')
-rw-r--r--test/harness/testBuiltInObject.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/harness/testBuiltInObject.js b/test/harness/testBuiltInObject.js
index e8eb39c67..3a8d24fdc 100644
--- a/test/harness/testBuiltInObject.js
+++ b/test/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");