[Pkg-javascript-commits] [node-syntax-error] 20/47: fix check test

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 25 19:29:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-syntax-error.

commit 36f907df109a6daf376e679fdfd7752500bf7600
Author: James Halliday <mail at substack.net>
Date:   Sat Jul 26 13:56:40 2014 -0700

    fix check test
---
 test/check.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/check.js b/test/check.js
index d84f459..13ba960 100644
--- a/test/check.js
+++ b/test/check.js
@@ -12,6 +12,6 @@ test(function (t) {
     t.equal(err.line, 5);
     t.equal(err.column, 30);
     t.equal(err.message, 'Unexpected identifier');
-    t.ok(String(err).indexOf(file) + ':5');
+    t.ok(String(err).indexOf(file + ':5'));
     t.end();
 });

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-syntax-error.git



More information about the Pkg-javascript-commits mailing list