[Pkg-javascript-commits] [node-jsonstream] 26/214: fix this test.

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 1 12:58:34 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 570e164cdf5cbc290d14aed96bcf232046bf6ec3
Author: Dominic Tarr <dominic.tarr at gmail.com>
Date:   Tue Apr 10 11:08:45 2012 +1200

    fix this test.
---
 test/test.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/test.js b/test/test.js
index dc49556..8ea7c2e 100644
--- a/test/test.js
+++ b/test/test.js
@@ -17,9 +17,9 @@ fs.createReadStream(file).pipe(parser)
 parser.on('data', function (data) {
   called ++
   it.has({
-    id: it.isString(),
-    value: {rev: it.isString()},
-    key:it.isString()
+    id: it.typeof('string'),
+    value: {rev: it.typeof('string')},
+    key:it.typeof('string')
   })
   parsed.push(data)
 })
@@ -32,4 +32,4 @@ process.on('exit', function () {
   it(called).equal(expected.rows.length)
   it(parsed).deepEqual(expected.rows)
   console.error('PASSED')
-})
\ No newline at end of file
+})

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