Skip to content

Commit 8c59511

Browse files
committed
Remove some more useless parameters.
1 parent 3d01a1c commit 8c59511

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

test/PlSqlFormatterTest.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ describe("PlSqlFormatter", function() {
193193
});
194194

195195
it("formats SELECT query with CROSS JOIN", function() {
196-
const result = sqlFormatter.format("SELECT a, b FROM t CROSS JOIN t2 on t.id = t2.id_t", {
197-
params: ["first", "second", "third"]
198-
});
196+
const result = sqlFormatter.format("SELECT a, b FROM t CROSS JOIN t2 on t.id = t2.id_t");
199197
expect(result).toBe(
200198
"SELECT\n" +
201199
" a,\n" +
@@ -207,9 +205,7 @@ describe("PlSqlFormatter", function() {
207205
});
208206

209207
it("formats SELECT query with CROSS APPLY", function() {
210-
const result = sqlFormatter.format("SELECT a, b FROM t CROSS APPLY fn(t.id)", {
211-
params: ["first", "second", "third"]
212-
});
208+
const result = sqlFormatter.format("SELECT a, b FROM t CROSS APPLY fn(t.id)", );
213209
expect(result).toBe(
214210
"SELECT\n" +
215211
" a,\n" +
@@ -240,9 +236,7 @@ describe("PlSqlFormatter", function() {
240236
});
241237

242238
it("formats SELECT query with OUTER APPLY", function() {
243-
const result = sqlFormatter.format("SELECT a, b FROM t OUTER APPLY fn(t.id)", {
244-
params: ["first", "second", "third"]
245-
});
239+
const result = sqlFormatter.format("SELECT a, b FROM t OUTER APPLY fn(t.id)");
246240
expect(result).toBe(
247241
"SELECT\n" +
248242
" a,\n" +

0 commit comments

Comments
 (0)