Skip to content

Commit ae6bf13

Browse files
authored
fix: test
1 parent dc1e76d commit ae6bf13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/pg/test/unit/client/throw-in-type-parser-tests.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ const assert = require('assert')
66

77
const suite = new helper.Suite()
88

9-
var typeParserError = new TypeError('TEST: Throw in type parsers')
9+
var typeParserError = new TypeError('oid must be an integer: special oid that will throw')
1010

1111
suite.test('special oid that will throw', function (done) {
1212
try {
1313
types.setTypeParser('special oid that will throw', function () {
14-
throw typeParserError
14+
throw new Error('TEST: Throw in type parsers')
1515
})
1616
assert.equal(true, false)
1717
} catch (err) {

0 commit comments

Comments
 (0)