aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/test-object-property-accessor.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-object-property-accessor.js b/test/test-object-property-accessor.js
index fb912b21..47d2e451 100644
--- a/test/test-object-property-accessor.js
+++ b/test/test-object-property-accessor.js
@@ -85,6 +85,7 @@ function testGetProperty2() {
[['value5', 1, 0], 'Invalid path: value5[1][0]'],
[['value5', 2, 'invalid'], 'Invalid path: value5[2].invalid'],
[['value5', 2, 0], 'Invalid path: value5[2][0]'],
+ [['value5', 2, 0, 'invalid'], 'Invalid path: value5[2][0]'],
[['value5', 2.5], 'Invalid index']
];
@@ -132,6 +133,7 @@ function testSetProperty2() {
[['value5', 1, 'invalid'], 'Invalid path: value5[1].invalid'],
[['value5', 2, 'invalid'], 'Invalid path: value5[2].invalid'],
[['value5', 2, 0], 'Invalid path: value5[2][0]'],
+ [['value5', 2, 0, 'invalid'], 'Invalid path: value5[2][0]'],
[['value5', 2.5], 'Invalid index']
];