Skip to content

Commit

Permalink
Merge pull request #327 from maratth/fix-test-fetch-contains-error
Browse files Browse the repository at this point in the history
Fix fetch error test
  • Loading branch information
mariuz authored Mar 31, 2024
2 parents 8290ee8 + a2b2d5a commit 3287340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ describe('Database', function() {

db.query('select RET from TEST_FETCH_FAIL', (err, d) => {
assert.ok(err, err);
assert.ok(err.message.indexOf('arithmetic exception, numeric overflow, or string truncation, Integer divide by zero.') === 0);
assert.ok(err.message.match(/arithmetic exception, numeric overflow, or string truncation, Integer divide by zero./gi));

done();
});
Expand Down

0 comments on commit 3287340

Please sign in to comment.