node-postgres/test/integration/client/empty-query-tests.js
2011-03-03 18:23:02 +00:00

10 lines
222 B
JavaScript

var helper = require(__dirname+'/test-helper');
var client = helper.client();
test("empty query message handling", function() {
assert.emits(client, 'drain', function() {
client.end();
});
client.query("");
});