We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f292d45 commit de42d1fCopy full SHA for de42d1f
test/integration/db.js
@@ -144,14 +144,15 @@ describe("db.driver", function () {
144
145
describe("#generateQuery", function () {
146
it("should return interpolated & escaped SQL", function () {
147
- var expected = "expectation missing; unknown protocol";
+ var expected = "expectation missing; unknown protocol " + common.protocol();
148
149
switch (common.protocol()) {
150
case 'mysql':
151
case 'sqlite':
152
expected = "UPDATE `animals` SET `name` = 'cat' WHERE `id` = 9"
153
break;
154
case 'postgres':
155
+ case 'redshift':
156
expected = 'UPDATE "animals" SET "name" = \'cat\' WHERE "id" = 9'
157
158
}
0 commit comments