summaryrefslogtreecommitdiff
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
commit033ffbdae3fd0ddb2cd6279d180f3bf3c9af785f (patch)
tree1cafacafd1728b5183e9d04ebabbf7c3f4c7538b /js
parenteba0aaf959f45be11438b4c3e2b4631462e5df47 (diff)
downloaduxp-033ffbdae3fd0ddb2cd6279d180f3bf3c9af785f.tar.gz
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 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