Skip to content

Commit 0d9aa91

Browse files
committed
Formatting
1 parent 2bb62d2 commit 0d9aa91

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/test/java/com/github/vertical_blank/sqlformatter/SqlFormatterTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,11 @@ public void withIndexedParams() {
7878

7979
@Test
8080
public void withLambdasParams() {
81-
String format = SqlFormatter.of(Dialect.SparkSql).format("SELECT aggregate(array(1, 2, 3), 0, (acc, x) -> acc + x, acc -> acc * 10);");
82-
assertEquals(format, "SELECT\n" + " aggregate(array(1, 2, 3), 0, (acc, x) -> acc + x, acc -> acc * 10);");
81+
String format =
82+
SqlFormatter.of(Dialect.SparkSql)
83+
.format("SELECT aggregate(array(1, 2, 3), 0, (acc, x) -> acc + x, acc -> acc * 10);");
84+
assertEquals(
85+
format,
86+
"SELECT\n" + " aggregate(array(1, 2, 3), 0, (acc, x) -> acc + x, acc -> acc * 10);");
8387
}
8488
}

0 commit comments

Comments
 (0)