summaryrefslogtreecommitdiff
path: root/spec/list_spec.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-07-13 23:56:08 -0600
committerDan Allen <dan.j.allen@gmail.com>2020-07-14 03:50:14 -0600
commit33f0d49bdb00c34457b632e9ed3468aca5b23f01 (patch)
tree0d39dd53f29cf696dca42e0368213e82eddf79bd /spec/list_spec.rb
parentb355b0d23229b1556338df4e61221fdbce66b1f6 (diff)
use and enforce a consistent style for comment annotations
Diffstat (limited to 'spec/list_spec.rb')
-rw-r--r--spec/list_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/list_spec.rb b/spec/list_spec.rb
index 9e678a89..4a738246 100644
--- a/spec/list_spec.rb
+++ b/spec/list_spec.rb
@@ -756,7 +756,7 @@ describe 'Asciidoctor::PDF::Converter - List' do
(expect pdf.lines).to eql ['• l1', '1. l2', '▪ l3', 'a. l4', '▪ l5', 'i. l6', '• l1']
end
- # NOTE expand this test as necessary to cover the various permutations
+ # NOTE: expand this test as necessary to cover the various permutations
it 'should not insert excess space between nested lists or list items with block content', visual: true do
to_file = to_pdf_file <<~'EOS', 'list-complex-nested.pdf'
* list item
@@ -1365,7 +1365,7 @@ describe 'Asciidoctor::PDF::Converter - List' do
colist_num_top_y = colist_num_text[:y] + colist_num_text[:font_size]
gap = bottom_line_y - colist_num_top_y
- # NOTE default outline list spacing is 6
+ # NOTE: default outline list spacing is 6
(expect gap).to be > 6
(expect gap).to be < 8
end