[Pkg-javascript-commits] [node-acorn-jsx] 351/484: Update tests for #158
Bastien Roucariès
rouca at moszumanska.debian.org
Sat Aug 19 14:20:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-acorn-jsx.
commit 51bc64a558aba482aa7fe2be587e1ea31ddae9f1
Author: Ingvar Stepanyan <me at rreverser.com>
Date: Sun Nov 9 16:02:12 2014 +0200
Update tests for #158
---
test/tests.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/tests.js b/test/tests.js
index e509528..72b9340 100644
--- a/test/tests.js
+++ b/test/tests.js
@@ -403,7 +403,7 @@ test("(1 + 2 ) * 3", {
preserveParens: true
});
-test("(x) = 23", {}, { preserveParens: true });
+testFail("(x) = 23", "Assigning to rvalue (1:0)", { preserveParens: true });
test("x = []", {
type: "Program",
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-acorn-jsx.git
More information about the Pkg-javascript-commits
mailing list