Skip to content

Commit 648cbe3

Browse files
committed
Add test case to verify comment indentation now works
Close #18
1 parent 200baff commit 648cbe3

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
func test() -> void:
2+
for x in range(10):
3+
if x != 5:
4+
continue
5+
# This comment should stay here
6+
print(x)
7+
8+
9+
func test2():
10+
pass # This comment should stay here too
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
func test() -> void:
2+
for x in range(10):
3+
if x != 5:
4+
continue
5+
# This comment should stay here
6+
print(x)
7+
8+
func test2():
9+
pass # This comment should stay here too

0 commit comments

Comments
 (0)