diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-13 18:20:22 -0400 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-03-14 13:51:06 -0400 |
commit | a267799cd91e6d7e23395abd110f2348413cad58 (patch) | |
tree | 092182edd39534d2ddd2da0566ae5b2b0e55c8ed /test/test-object-property-accessor.js | |
parent | 7e1e7d59cd8f076b8ee07c354ed11724364cc9fa (diff) |
Add some extra tests
Diffstat (limited to 'test/test-object-property-accessor.js')
-rw-r--r-- | test/test-object-property-accessor.js | 2 |
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'] ]; |