Skip to content

Commit e72aff4

Browse files
author
Sandro Santilli
committed
Have stream emit 'close' rather than 'end' for sake of testing
1 parent e1b1c62 commit e72aff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/unit/client/stream-and-query-error-interaction-tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ test('emits end when not in query', function() {
2020
assert.equal(client.queryQueue.length, 0);
2121
assert(client.activeQuery, 'client should have issued query');
2222
process.nextTick(function() {
23-
stream.emit('end');
23+
stream.emit('close');
2424
});
2525
});
2626
});

0 commit comments

Comments
 (0)