We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dbb07b commit 7baa9abCopy full SHA for 7baa9ab
test/comments.test.ts
@@ -149,6 +149,27 @@ describe("comments", () => {
149
`);
150
});
151
152
+ it(`collapses multiple empty lines between comments to one`, async () => {
153
+ expect(
154
+ await rawPretty(dedent`
155
+ SELECT 1;
156
+ -- foo
157
+
158
159
+ -- baz
160
161
162
+ `),
163
+ ).toBe(dedent`
164
165
166
167
168
169
170
+ `);
171
+ });
172
173
// Issue #9
174
it.skip(`keeps separate-line line-comments on a separate line (not moving them to line end)`, async () => {
175
rawTest(dedent`
0 commit comments