Skip to content

Commit d3084b6

Browse files
committed
Add additional TODO test for alpha bullets
1 parent 75c0e4f commit d3084b6

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

spec/alphabetic_bullets_spec.rb

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,19 +143,35 @@
143143
EXPECTED
144144
end
145145

146-
# it 'does not add a new alpha bullet with wrapped lines' do
146+
# it 'correctly numbers after wrapped lines starting with short words' do
147147
# # TODO: maybe take guidance from Pandoc and require two spaces after the
148148
# closure to allow us to differentiate between bullets and abbreviations
149149
# and words. Might also consider only allowing single letters.
150-
# test_bullet_inserted('not a bullet', <<-INIT, <<-EXPECTED)
150+
# test_bullet_inserted('second bullet', <<-INIT, <<-EXPECTED)
151151
# # Hello there
152152
# a. first bullet might not catch
153-
# \tme. second line.
153+
# me. second line.
154154
# INIT
155155
# # Hello there
156156
# a. first bullet might not catch
157157
# \tme. second line.
158-
# not a bullet
158+
# b. second bullet
159+
# EXPECTED
160+
# end
161+
162+
# it 'correctly numbers after lines beginning with initialized names' do
163+
# # TODO: maybe take guidance from Pandoc and require two spaces after the
164+
# closure to allow us to differentiate between bullets and abbreviations
165+
# and words. Might also consider only allowing single letters.
166+
# test_bullet_inserted('Second bullet', <<-INIT, <<-EXPECTED)
167+
# # Hello there
168+
# I. The first president of the USA was
169+
# G. Washington.
170+
# INIT
171+
# # Hello there
172+
# I. The first president of the USA was
173+
# G. Washington.
174+
# II. Second bullet
159175
# EXPECTED
160176
# end
161177

0 commit comments

Comments
 (0)