Skip to content

Commit 3d01a1c

Browse files
committed
Remove useless parameters.
1 parent 48737e2 commit 3d01a1c

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

test/StandardSqlFormatterTest.js

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,7 @@ describe("StandardSqlFormatter", function() {
199199
});
200200

201201
it("formats SELECT query with CROSS JOIN", function() {
202-
const result = sqlFormatter.format("SELECT a, b FROM t CROSS JOIN t2 on t.id = t2.id_t", {
203-
params: ["first", "second", "third"]
204-
});
202+
const result = sqlFormatter.format("SELECT a, b FROM t CROSS JOIN t2 on t.id = t2.id_t");
205203
expect(result).toBe(
206204
"SELECT\n" +
207205
" a,\n" +
@@ -213,9 +211,7 @@ describe("StandardSqlFormatter", function() {
213211
});
214212

215213
it("formats SELECT query with CROSS APPLY", function() {
216-
const result = sqlFormatter.format("SELECT a, b FROM t CROSS APPLY fn(t.id)", {
217-
params: ["first", "second", "third"]
218-
});
214+
const result = sqlFormatter.format("SELECT a, b FROM t CROSS APPLY fn(t.id)");
219215
expect(result).toBe(
220216
"SELECT\n" +
221217
" a,\n" +
@@ -246,9 +242,7 @@ describe("StandardSqlFormatter", function() {
246242
});
247243

248244
it("formats SELECT query with OUTER APPLY", function() {
249-
const result = sqlFormatter.format("SELECT a, b FROM t OUTER APPLY fn(t.id)", {
250-
params: ["first", "second", "third"]
251-
});
245+
const result = sqlFormatter.format("SELECT a, b FROM t OUTER APPLY fn(t.id)");
252246
expect(result).toBe(
253247
"SELECT\n" +
254248
" a,\n" +

0 commit comments

Comments
 (0)