File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 - uses : actions/checkout@v6
5252 with :
5353 submodules : true
54+ - uses : ruby/setup-ruby@v1
55+ with :
56+ ruby-version : ' 3.4'
5457 - if : runner.os == 'macOS'
5558 uses : actions-rust-lang/setup-rust-toolchain@v1
5659 with :
Original file line number Diff line number Diff line change @@ -118,75 +118,3 @@ def foo
118118puts <<EOD . gsub ( "a" , "b" )
119119"cde"
120120EOD
121-
122- # whitespace-only lines are not considered when calculating indentation
123- puts \
124- <<~FOO . inspect
125- the next line contains a single space
126-
127- FOO
128-
129- # 1 tab equals 8 spaces, both should be considered indentation
130- puts \
131- <<~FOO . inspect
132- this line is indented 8 spaces
133- this line is indented 1 tab
134- FOO
135-
136- # 1 tab plus 1 space equals 8 spaces
137- puts \
138- <<~FOO . inspect
139- this line is indented 9 spaces
140- this line is indented 1 space and 1 tab
141- FOO
142-
143- # 1 tab is greater than 7 spaces, the tab should be considered content
144- puts \
145- <<~FOO . inspect
146- this line is indented 7 spaces
147- this line is indented 1 tab
148- FOO
149-
150- # trailing spaces should not be removed
151- puts \
152- <<-FOO . inspect
153- this line and the next have a trailing space:
154-
155- this line and the next have a trailing tab:
156-
157- FOO
158-
159- # trailing spaces should not be removed (squiggly)
160- puts \
161- <<~FOO . inspect
162- this line and the next have a trailing space:
163-
164- this line and the next have a trailing tab:
165-
166- FOO
167-
168- # single line of trailing space
169- puts \
170- <<-FOO . inspect
171-
172- FOO
173-
174- # single line of trailing space (squiggly)
175- puts \
176- <<~FOO . inspect
177-
178- FOO
179-
180- # multiple lines of trailing space
181- puts \
182- <<-FOO . inspect
183-
184-
185- FOO
186-
187- # multiple lines of trailing space (squiggly)
188- puts \
189- <<~FOO . inspect
190-
191-
192- FOO
Original file line number Diff line number Diff line change @@ -13,75 +13,3 @@ def foo
1313 hi there
1414 THING
1515end
16-
17- # whitespace-only lines are not considered when calculating indentation
18- puts \
19- <<~FOO . inspect
20- the next line contains a single space
21-
22- FOO
23-
24- # 1 tab equals 8 spaces, both should be considered indentation
25- puts \
26- <<~FOO . inspect
27- this line is indented 8 spaces
28- this line is indented 1 tab
29- FOO
30-
31- # 1 tab plus 1 space equals 8 spaces
32- puts \
33- <<~FOO . inspect
34- this line is indented 9 spaces
35- this line is indented 1 space and 1 tab
36- FOO
37-
38- # 1 tab is greater than 7 spaces, the tab should be considered content
39- puts \
40- <<~FOO . inspect
41- this line is indented 7 spaces
42- this line is indented 1 tab
43- FOO
44-
45- # trailing spaces should not be removed
46- puts \
47- <<-FOO . inspect
48- this line and the next have a trailing space:
49-
50- this line and the next have a trailing tab:
51-
52- FOO
53-
54- # trailing spaces should not be removed (squiggly)
55- puts \
56- <<~FOO . inspect
57- this line and the next have a trailing space:
58-
59- this line and the next have a trailing tab:
60-
61- FOO
62-
63- # single line of trailing space
64- puts \
65- <<-FOO . inspect
66-
67- FOO
68-
69- # single line of trailing space (squiggly)
70- puts \
71- <<~FOO . inspect
72-
73- FOO
74-
75- # multiple lines of trailing space
76- puts \
77- <<-FOO . inspect
78-
79-
80- FOO
81-
82- # multiple lines of trailing space (squiggly)
83- puts \
84- <<~FOO . inspect
85-
86-
87- FOO
Original file line number Diff line number Diff line change @@ -13,95 +13,3 @@ def foo
1313 hi there
1414 THING
1515end
16-
17- # whitespace-only lines are not considered when calculating indentation
18- puts (
19- <<~FOO
20- the next line contains a single space
21-
22- FOO
23- . inspect
24- )
25-
26- # 1 tab equals 8 spaces, both should be considered indentation
27- puts (
28- <<~FOO
29- this line is indented 8 spaces
30- this line is indented 1 tab
31- FOO
32- . inspect
33- )
34-
35- # 1 tab plus 1 space equals 8 spaces
36- puts (
37- <<~FOO
38- this line is indented 9 spaces
39- this line is indented 1 space and 1 tab
40- FOO
41- . inspect
42- )
43-
44- # 1 tab is greater than 7 spaces, the tab should be considered content
45- puts (
46- <<~FOO
47- this line is indented 7 spaces
48- this line is indented 1 tab
49- FOO
50- . inspect
51- )
52-
53- # trailing spaces should not be removed
54- puts (
55- <<-FOO
56- this line and the next have a trailing space:
57-
58- this line and the next have a trailing tab:
59-
60- FOO
61- . inspect
62- )
63-
64- # trailing spaces should not be removed (squiggly)
65- puts (
66- <<~FOO
67- this line and the next have a trailing space:
68-
69- this line and the next have a trailing tab:
70-
71- FOO
72- . inspect
73- )
74-
75- # single line of trailing space
76- puts (
77- <<-FOO
78-
79- FOO
80- . inspect
81- )
82-
83- # single line of trailing space (squiggly)
84- puts (
85- <<~FOO
86-
87- FOO
88- . inspect
89- )
90-
91- # multiple lines of trailing space
92- puts (
93- <<-FOO
94-
95-
96- FOO
97- . inspect
98- )
99-
100- # multiple lines of trailing space (squiggly)
101- puts (
102- <<~FOO
103-
104-
105- FOO
106- . inspect
107- )
You can’t perform that action at this time.
0 commit comments