Skip to content

Commit

Permalink
More test suite fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tgriesser committed Oct 9, 2016
1 parent 82685b5 commit a24e4df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"prepublish": "npm run babel",
"tape": "node test/tape/index.js | tap-spec",
"debug_tape": "node-debug test/tape/index.js",
"test": "npm run lint && istanbul --config=test/.istanbul.yml cover node_modules/mocha/bin/_mocha -- --check-leaks -b -R spec test/index.js && npm run tape"
"test": "npm run lint && istanbul --config=test/.istanbul.yml cover node_modules/mocha/bin/_mocha -- --check-leaks -t 10000 -b -R spec test/index.js && npm run tape"
},
"bin": {
"knex": "./bin/cli.js"
Expand Down
2 changes: 1 addition & 1 deletion test/unit/query/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -3977,7 +3977,7 @@ describe("QueryBuilder", function() {

it('#1710, properly escapes arrays in where clauses in postgresql', function() {
testquery(qb().select('*').from('sometable').where('array_field', '&&', [7]), {
postgres: `select * from "sometable" where "array_field" && '{7}'`
postgres: "select * from \"sometable\" where \"array_field\" && '{7}'"
});
})

Expand Down

0 comments on commit a24e4df

Please sign in to comment.