More test suite fixes

This commit is contained in:
Tim Griesser 2016-10-09 15:21:04 -04:00
parent 82685b57f0
commit a24e4df638
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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}'"
});
})