Do not run tests for binary mode

This commit is contained in:
Brian Carlson 2013-09-01 22:03:49 -05:00
parent fb499e4b3d
commit a2d0ab286a

View File

@ -150,7 +150,8 @@ test("timestampz round trip", function() {
client.on('drain', client.end.bind(client)); client.on('drain', client.end.bind(client));
}); });
test('early AD date', function() { if(!helper.config.binary) {
test('early AD & BC date', function() {
var client = helper.client(); var client = helper.client();
client.on('error', function(err) { client.on('error', function(err) {
console.log(err); console.log(err);
@ -167,6 +168,7 @@ test('early AD date', function() {
client.on('drain', client.end.bind(client)); client.on('drain', client.end.bind(client));
}) })
}
helper.pg.connect(helper.config, assert.calls(function(err, client, done) { helper.pg.connect(helper.config, assert.calls(function(err, client, done) {
assert.isNull(err); assert.isNull(err);