Skip to content

Commit fb499e4

Browse files
committed
Fix incorrect failing date test
1 parent 3c6b106 commit fb499e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/integration/client/type-coercion-tests.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ test('early AD date', function() {
162162
}))
163163

164164
client.query('SELECT $1::TIMESTAMPTZ as when', ["0062-03-08 14:32:00 BC"], assert.success(function(res) {
165-
console.log(res.rows[0].when)
166-
assert.equal(res.rows[0].when.getFullYear(), 62);
165+
assert.equal(res.rows[0].when.getFullYear(), -62);
167166
}))
168167

169168
client.on('drain', client.end.bind(client));

0 commit comments

Comments
 (0)