Skip to content

Commit 77c3197

Browse files
Added test for formatting separate comments
1 parent 33a2e19 commit 77c3197

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/formatComments.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const pythonLineTests: Test[] = [
4646
{ title: "Line | Joining", pre: "# a\n# b\n# c", post: "# a b c" },
4747
{ title: "Line | Preserve empty", pre: "# a\n#\n# b", post: "# a\n#\n# b" },
4848
{ title: "Line | Preserve dash", pre: "# a\n# -\n# b", post: "# a\n# -\n# b" },
49+
{ title: "Line | Separate comments", pre: "# a\n\n# b", post: "# a\n\n# b" },
4950
{ title: "Line | CRLF", pre: "# a\r\n# -\r\n# b", post: "# a\r\n# -\r\n# b" },
5051
{
5152
title: "Line | Long",

0 commit comments

Comments
 (0)