mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
10 lines
232 B
JavaScript
10 lines
232 B
JavaScript
var helper = require(__dirname+'/test-helper');
|
|
var client = helper.client();
|
|
|
|
test("empty query message handling", function() {
|
|
client.query("");
|
|
assert.emits(client, 'drain', function() {
|
|
client.end.bind(client);
|
|
})
|
|
});
|