summaryrefslogtreecommitdiff
path: root/js/src/jit-test
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-07-14 20:55:37 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:48 -0400
commit8b4ee77d34ce04e3c8bb2ba017b009d5f25d1eb9 (patch)
tree1cafacafd1728b5183e9d04ebabbf7c3f4c7538b /js/src/jit-test
parent262b1194ffeba70fcb81abad4adfa40f1bf646be (diff)
downloaduxp-8b4ee77d34ce04e3c8bb2ba017b009d5f25d1eb9.tar.gz
1339395 - Part 6: Update jit-tests now that object rest/spread properties are a thing.
Diffstat (limited to 'js/src/jit-test')
-rw-r--r--js/src/jit-test/tests/parser/arrow-rest.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/jit-test/tests/parser/arrow-rest.js b/js/src/jit-test/tests/parser/arrow-rest.js
index 53750f25be..b1429066ef 100644
--- a/js/src/jit-test/tests/parser/arrow-rest.js
+++ b/js/src/jit-test/tests/parser/arrow-rest.js
@@ -39,7 +39,7 @@ testThrow(`
testThrow(`
({...a)=>
-`, 2);
+`, 6);
testThrow(`
function f([... ...a)=>
@@ -47,7 +47,7 @@ function f([... ...a)=>
testThrow(`
function f({...a)=>
-`, 12);
+`, 16);
// arrow
@@ -67,7 +67,7 @@ var [... ...a)=>
testThrow(`
var {...a)=>
-`, 5);
+`, 9);
// initializer