Skip to content

Commit 6d67a12

Browse files
author
Loay Gewily
committed
Fix syntax errors
1 parent b343a39 commit 6d67a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/postgresql.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ describe('postgresql connector', function() {
9090
});
9191
});
9292

93-
it('should reserve property `count` after query execution', function(done) {
93+
it('should preserve property `count` after query execution', function(done) {
9494
Post.create(
9595
{title: 'T10', content: 'C10'},
9696
function(err, p) {
97-
should.not.exists(err);
97+
if (err) return done(err);
9898
post = p;
9999
var query = "UPDATE PostWithBoolean SET title ='T20' WHERE id=" + post.id;
100100
db.connector.execute(query, function(err, results) {

0 commit comments

Comments
 (0)