Do not run tests for binary mode
This commit is contained in:
parent
fb499e4b3d
commit
a2d0ab286a
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user