Skip to content

Commit

Permalink
Add additional TODO test for alpha bullets
Browse files Browse the repository at this point in the history
  • Loading branch information
kaymmm committed Mar 9, 2020
1 parent 75c0e4f commit d3084b6
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions spec/alphabetic_bullets_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,19 +143,35 @@
EXPECTED
end

# it 'does not add a new alpha bullet with wrapped lines' do
# it 'correctly numbers after wrapped lines starting with short words' do
# # TODO: maybe take guidance from Pandoc and require two spaces after the
# closure to allow us to differentiate between bullets and abbreviations
# and words. Might also consider only allowing single letters.
# test_bullet_inserted('not a bullet', <<-INIT, <<-EXPECTED)
# test_bullet_inserted('second bullet', <<-INIT, <<-EXPECTED)
# # Hello there
# a. first bullet might not catch
# \tme. second line.
# me. second line.
# INIT
# # Hello there
# a. first bullet might not catch
# \tme. second line.
# not a bullet
# b. second bullet
# EXPECTED
# end

# it 'correctly numbers after lines beginning with initialized names' do
# # TODO: maybe take guidance from Pandoc and require two spaces after the
# closure to allow us to differentiate between bullets and abbreviations
# and words. Might also consider only allowing single letters.
# test_bullet_inserted('Second bullet', <<-INIT, <<-EXPECTED)
# # Hello there
# I. The first president of the USA was
# G. Washington.
# INIT
# # Hello there
# I. The first president of the USA was
# G. Washington.
# II. Second bullet
# EXPECTED
# end

Expand Down

0 comments on commit d3084b6

Please sign in to comment.