不要怂,就是干,撸起袖子干!

Commit 4e849116 by Steffen Persch

set the right context for postgres tests

1 parent 65cc93eb
Showing with 2 additions and 2 deletions
......@@ -414,12 +414,12 @@ if (dialect.match(/^postgres/)) {
title: 'use != if ne !== null',
arguments: ['myTable', {where: {field: {ne: 0}}}],
expectation: "SELECT * FROM myTable WHERE myTable.field != 0;",
context: QueryGenerator
context: {options: {quoteIdentifiers: false}}
}, {
title: 'use IS NOT if ne === null',
arguments: ['myTable', {where: {field: {ne: null}}}],
expectation: "SELECT * FROM myTable WHERE myTable.field IS NOT NULL;",
context: QueryGenerator
context: {options: {quoteIdentifiers: false}}
}
],
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!