Remove error code test on native

This commit is contained in:
Brian M. Carlson 2015-01-13 18:13:20 -05:00
parent ba84f30b31
commit e2aa07c06c

View File

@ -36,12 +36,13 @@ test('error during query execution', function() {
}));
});
if(helper.config.native) return;
test('9.3 column error fields', function() {
var client = new Client(helper.args);
client.connect(assert.success(function() {
helper.versionGTE(client, '9.3.0', assert.success(function(isGreater) {
if(!isGreater) {
console.log('skip 9.3 error field on older versions of postgres');
return client.end();
}
@ -81,4 +82,4 @@ test('9.3 constraint error fields', function() {
});
}));
}));
});
});