[Pkg-javascript-commits] [node-acorn-jsx] 233/484: Test fixes for imports.

Bastien Roucariès rouca at moszumanska.debian.org
Sat Aug 19 14:20:35 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 a8cf37fc466a9d80c78675890a94899c0cae86db
Author: Ingvar Stepanyan <me at rreverser.com>
Date:   Fri Jul 25 22:48:39 2014 +0300

    Test fixes for imports.
---
 test/tests-harmony.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/tests-harmony.js b/test/tests-harmony.js
index ac98e27..d88723a 100644
--- a/test/tests-harmony.js
+++ b/test/tests-harmony.js
@@ -14497,11 +14497,11 @@ testFail("for (let x = 42 in list) process(x);", "Unexpected token (1:16)", {ecm
 
 testFail("for (let x = 42 of list) process(x);", "Unexpected token (1:16)", {ecmaVersion: 6});
 
-testFail("import foo", "Unexpected token (1:11)", {ecmaVersion: 6});
+testFail("import foo", "Unexpected token (1:10)", {ecmaVersion: 6});
 
-testFail("import { foo, bar }", "Unexpected token (1:20)", {ecmaVersion: 6});
+testFail("import { foo, bar }", "Unexpected token (1:19)", {ecmaVersion: 6});
 
-testFail("import foo from bar", "Unexpected token (1:20)", {ecmaVersion: 6});
+testFail("import foo from bar", "Unexpected token (1:16)", {ecmaVersion: 6});
 
 testFail("((a)) => 42", "Unexpected token (1:6)", {ecmaVersion: 6});
 

-- 
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