Skip to content
Browse files

fix this test.

  • Loading branch information...
1 parent ce43382 commit 570e164cdf5cbc290d14aed96bcf232046bf6ec3 @dominictarr committed Apr 10, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/test.js
View
8 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')
-})
+})

0 comments on commit 570e164

Please sign in to comment.
Something went wrong with that request. Please try again.