Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c22b957

Browse files
committed
Add failing test for long call chain comment formatting issue
1 parent ea300f2 commit c22b957

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/fixtures/call.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@
4040
qux
4141
.quux
4242
%
43+
result =
44+
fooooooooooooooooo
45+
.barrrrrrrrrrrrrrrrrrr
46+
.bazzzzzzzzzzzzzzzzzzz
47+
# long comment long comment long comment long comment long comment
48+
# long comment long comment long comment long comment long comment
49+
# long comment long comment long comment long comment long comment
50+
.quxxxxxxxxxxxxxxxxxxx
51+
%
4352
{ a: 1, b: 2 }.fooooooooooooooooo.barrrrrrrrrrrrrrrrrrr.bazzzzzzzzzzzz.quxxxxxxxxxxxx
4453
-
4554
{ a: 1, b: 2 }.fooooooooooooooooo

0 commit comments

Comments
 (0)