summaryrefslogtreecommitdiffstats
path: root/js
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
parent262b1194ffeba70fcb81abad4adfa40f1bf646be (diff)
downloadUXP-8b4ee77d34ce04e3c8bb2ba017b009d5f25d1eb9.tar
UXP-8b4ee77d34ce04e3c8bb2ba017b009d5f25d1eb9.tar.gz
UXP-8b4ee77d34ce04e3c8bb2ba017b009d5f25d1eb9.tar.lz
UXP-8b4ee77d34ce04e3c8bb2ba017b009d5f25d1eb9.tar.xz
UXP-8b4ee77d34ce04e3c8bb2ba017b009d5f25d1eb9.zip
1339395 - Part 6: Update jit-tests now that object rest/spread properties are a thing.
Diffstat (limited to 'js')
-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 53750f25b..b1429066e 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