From fb499e4b3d863daaa8058482fea96580f401e9b0 Mon Sep 17 00:00:00 2001 From: Brian Carlson Date: Sun, 1 Sep 2013 21:59:33 -0500 Subject: [PATCH] Fix incorrect failing date test --- test/integration/client/type-coercion-tests.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/integration/client/type-coercion-tests.js b/test/integration/client/type-coercion-tests.js index d590c35..6e39228 100644 --- a/test/integration/client/type-coercion-tests.js +++ b/test/integration/client/type-coercion-tests.js @@ -162,8 +162,7 @@ test('early AD date', function() { })) client.query('SELECT $1::TIMESTAMPTZ as when', ["0062-03-08 14:32:00 BC"], assert.success(function(res) { - console.log(res.rows[0].when) - assert.equal(res.rows[0].when.getFullYear(), 62); + assert.equal(res.rows[0].when.getFullYear(), -62); })) client.on('drain', client.end.bind(client));