Skip to content

Commit 4d84909

Browse files
noinklingbrianc
authored andcommitted
Fix integration test for v1.0.4 of postgres-date sub-dependency (#1867)
1 parent 6b8176e commit 4d84909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ suite.test('date range extremes', function (done) {
179179
}))
180180

181181
client.query('SELECT $1::TIMESTAMPTZ as when', ['4713-12-31 12:31:59 BC GMT'], assert.success(function (res) {
182-
assert.equal(res.rows[0].when.getFullYear(), -4713)
182+
assert.equal(res.rows[0].when.getFullYear(), -4712)
183183
}))
184184

185185
client.query('SELECT $1::TIMESTAMPTZ as when', ['275760-09-13 00:00:00 -15:00'], assert.success(function (res) {

0 commit comments

Comments
 (0)