diff --git a/package.json b/package.json index 57eb5527e..82b0196d3 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "proxyquire": "^2.0.0", "stream-mock": "^2.0.3", "tap-spec": "^5.0.0", - "tape": "^4.10.1", + "tape": "^5.0.0", "temp": "^0.9.0" }, "scripts": { diff --git a/test/streams/documentStream.js b/test/streams/documentStream.js index f1f062d9a..99c4446e4 100644 --- a/test/streams/documentStream.js +++ b/test/streams/documentStream.js @@ -40,7 +40,7 @@ tape( 'documentStream does not set zipcode if zipcode is emptystring', function( test_stream([input], documentStream, function(err, actual) { test.equal(actual.length, 1, 'the document should be pushed' ); test.equal(stats.badRecordCount, 0, 'bad record count unchanged'); - test.equal(actual[0].getAddress('zip', undefined)); + test.equal(actual[0].getAddress('zip'), undefined); test.end(); }); });