|
204 | 204 | it 'does not indent ul list markers with --nested-list-marker-indent set to 0' do |
205 | 205 | the_source_file = scenario_file 'ul/nested-0-indent.md' |
206 | 206 | expected = File.read (scenario_file 'ul/nested-0-indent.adoc'), mode: 'rb' |
207 | | - (expect subject.run %W(-o - #{the_source_file})).to eql 0 |
| 207 | + (expect subject.run %W(-o - --nested-list-marker-indent=0 #{the_source_file})).to eql 0 |
208 | 208 | (expect $stdout.string).to eql expected |
209 | 209 | end |
210 | 210 |
|
211 | 211 | it 'does not indent ol list markers with --nested-list-marker-indent set to 0' do |
212 | 212 | the_source_file = scenario_file 'ol/nested-0-indent.md' |
213 | 213 | expected = File.read (scenario_file 'ol/nested-0-indent.adoc'), mode: 'rb' |
214 | | - (expect subject.run %W(-o - #{the_source_file})).to eql 0 |
| 214 | + (expect subject.run %W(-o - --nested-list-marker-indent=0 #{the_source_file})).to eql 0 |
215 | 215 | (expect $stdout.string).to eql expected |
216 | 216 | end |
217 | 217 |
|
218 | 218 | it 'does indent ul list markers according to --nested-list-marker-indent configuration' do |
219 | 219 | the_source_file = scenario_file 'ul/nested-3-indent.md' |
220 | 220 | expected = File.read (scenario_file 'ul/nested-3-indent.adoc'), mode: 'rb' |
221 | | - (expect subject.run %W(-o - #{the_source_file})).to eql 0 |
| 221 | + (expect subject.run %W(-o - --nested-list-marker-indent=3 #{the_source_file})).to eql 0 |
222 | 222 | (expect $stdout.string).to eql expected |
223 | 223 | end |
224 | 224 |
|
225 | 225 | it 'does indent ol list markers according to --nested-list-marker-indent configuration' do |
226 | 226 | the_source_file = scenario_file 'ol/nested-3-indent.md' |
227 | 227 | expected = File.read (scenario_file 'ol/nested-3-indent.adoc'), mode: 'rb' |
228 | | - (expect subject.run %W(-o - #{the_source_file})).to eql 0 |
| 228 | + (expect subject.run %W(-o - --nested-list-marker-indent=3 #{the_source_file})).to eql 0 |
229 | 229 | (expect $stdout.string).to eql expected |
230 | 230 | end |
231 | 231 |
|
|
0 commit comments