summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-05-26 21:08:24 -0400
committerGitHub <noreply@github.com>2021-05-26 21:08:24 -0400
commit52aa92208c74d919252cc48f3d6eae519035de9d (patch)
treef97e6a40eb38bea16137b7729c39c788a4329a7a /test
parent8ed712512b43c3a546369bfdd247a7c1bb347c4f (diff)
Fix set/deleteProperty not allowing array splicing (#1713)
* Fix set/deleteProperty not allowing array splicing * Update tests
Diffstat (limited to 'test')
-rw-r--r--test/test-json-schema.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-json-schema.js b/test/test-json-schema.js
index 1c61f1b8..cc92c851 100644
--- a/test/test-json-schema.js
+++ b/test/test-json-schema.js
@@ -945,7 +945,7 @@ function testProxy1() {
tests: [
{error: false, value: ['default'], action: (value) => { value[0] = 'string'; }},
{error: true, value: ['default'], action: (value) => { value[0] = null; }},
- {error: true, value: ['default'], action: (value) => { delete value[0]; }},
+ {error: false, value: ['default'], action: (value) => { delete value[0]; }},
{error: false, value: ['default'], action: (value) => { value[1] = 'string'; }},
{error: false, value: ['default'], action: (value) => {
value[1] = 'string';