Skip to content

Commit 2c9987e

Browse files
committed
Move test to upper level.
1 parent 80c0f37 commit 2c9987e

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
var HttpClient = require('../../lib/http-client'),
2-
HttpMeta = require('../../lib/http-meta'),
3-
should = require('should'),
4-
util = require('util'),
5-
assert = require('assert'),
6-
test = require('../../lib/utils').test;
1+
var HttpClient = require('../lib/http-client'),
2+
HttpMeta = require('../lib/http-meta'),
3+
should = require('should');
74

85
var db;
96

@@ -31,7 +28,7 @@ describe('http-client-pool', function () {
3128

3229
it('Fetches the streamed object', function(done) {
3330
db.get('languages', 'erlang', {stream: true}, function(err, response, meta) {
34-
assert(!err);
31+
should.not.exist(err);
3532
response.on('data', function(data) {
3633
data = JSON.parse(String(data));
3734
data.type.should.equal('functional');

0 commit comments

Comments
 (0)