Skip to content

Commit 758890b

Browse files
committed
fix for postgress 11
1 parent c9d6d11 commit 758890b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/pg-batch-query/test/test-error-handling.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('BatchQuery error handling', function () {
4444
try {
4545
await this.client.query(batch).execute()
4646
} catch (e) {
47-
assert.equal(e.message, 'invalid input syntax for type integer: "xxx"')
47+
assert.equal(e.message, 'invalid input syntax for integer: "xxx"')
4848
}
4949
const response = await this.client.query('Select sum(value) from foo')
5050
console.log(response)
@@ -65,7 +65,7 @@ describe('BatchQuery error handling', function () {
6565
try {
6666
await this.client.query(batch).execute()
6767
} catch (e) {
68-
assert.equal(e.message, 'invalid input syntax for type integer: "xxx"')
68+
assert.equal(e.message, 'invalid input syntax for integer: "xxx"')
6969
}
7070
})
7171
})

0 commit comments

Comments
 (0)