]> code.delx.au - gnu-emacs-elpa/blobdiff - tests/parser.el
Declare vars created with renaming destructuring
[gnu-emacs-elpa] / tests / parser.el
index 4a8c9c3818e93926c6865fe2d5b08712630184a3..b546c1cff0a4462e2dcf8d516a8200a65485458c 100644 (file)
@@ -188,7 +188,8 @@ the test."
   :warnings-count 0)
 
 (js2-deftest-parse destruct-in-arguments
-  "function f({a: aa, b: bb}) {\n}")
+  "function f({a: aa, b: bb}) {\n}"
+  :warnings-count 0)
 
 (js2-deftest-parse destruct-in-array-comp-loop
   "[a + b for ([a, b] in [[0, 1], [1, 2]])];")