We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc1e76d commit ae6bf13Copy full SHA for ae6bf13
packages/pg/test/unit/client/throw-in-type-parser-tests.js
@@ -6,12 +6,12 @@ const assert = require('assert')
6
7
const suite = new helper.Suite()
8
9
-var typeParserError = new TypeError('TEST: Throw in type parsers')
+var typeParserError = new TypeError('oid must be an integer: special oid that will throw')
10
11
suite.test('special oid that will throw', function (done) {
12
try {
13
types.setTypeParser('special oid that will throw', function () {
14
- throw typeParserError
+ throw new Error('TEST: Throw in type parsers')
15
})
16
assert.equal(true, false)
17
} catch (err) {
0 commit comments