[Pkg-javascript-commits] [node-jsonstream] 167/214: Fix unit test to get first parsing error only
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 1 12:58: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-jsonstream.
commit 4bda83fbd8d45b39fa88b8d79b5b2db3f6b7ee2a
Author: Guillaume Chauvet <g.chauvet at bimedia.com.fr>
Date: Mon Aug 31 15:11:44 2015 +0200
Fix unit test to get first parsing error only
---
test/issues.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/issues.js b/test/issues.js
index e554be6..eba392e 100644
--- a/test/issues.js
+++ b/test/issues.js
@@ -10,7 +10,7 @@ test('#66', function (t) {
error++;
})
.on('end', function () {
- t.ok(error > 0);
+ t.ok(error === 1);
t.end();
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-jsonstream.git
More information about the Pkg-javascript-commits
mailing list