From d3084b621735a1088e99fcba50a8fc118ed6fc8e Mon Sep 17 00:00:00 2001 From: Keith Miyake Date: Mon, 9 Mar 2020 15:24:21 -0700 Subject: [PATCH] Add additional TODO test for alpha bullets --- spec/alphabetic_bullets_spec.rb | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/spec/alphabetic_bullets_spec.rb b/spec/alphabetic_bullets_spec.rb index 74a62cd..c175d0d 100644 --- a/spec/alphabetic_bullets_spec.rb +++ b/spec/alphabetic_bullets_spec.rb @@ -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