Skip to content

Commit 5c86a36

Browse files
committed
Added formatting test for removing empty coomments
Signed-off-by: Ole Herman Schumacher Elgesem <ole.elgesem@northern.tech>
1 parent becc664 commit 5c86a36

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
bundle agent main
2+
{
3+
# comment
4+
reports:
5+
"hello";
6+
}
7+
8+
bundle agent b
9+
{
10+
# Some long comment here
11+
#
12+
# With more explanation here
13+
reports:
14+
"hello";
15+
}
16+
17+
bundle agent c
18+
# Some long comment here
19+
#
20+
# With more explanation here
21+
{
22+
reports:
23+
"hello";
24+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
bundle agent main
2+
{
3+
#
4+
# comment
5+
reports:
6+
"hello";
7+
}
8+
9+
10+
bundle agent b
11+
{
12+
# Some long comment here
13+
#
14+
# With more explanation here
15+
#
16+
reports:
17+
"hello";
18+
}
19+
20+
21+
22+
bundle agent c
23+
# Some long comment here
24+
#
25+
# With more explanation here
26+
#
27+
{
28+
reports:
29+
"hello";
30+
}

0 commit comments

Comments
 (0)