diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2023-03-29 02:48:06 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2023-03-29 02:48:06 -0600 |
| commit | e118eed966ccdc1364a5e6bdbae63572e068094a (patch) | |
| tree | b5e91c70ec18ea77101828b40bb281303dadb3e0 | |
| parent | 36d41619194fa76d600c60a4056d9c07d587a3f0 (diff) | |
revert uses of END to EOS for consistency
| -rw-r--r-- | spec/table_spec.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/table_spec.rb b/spec/table_spec.rb index 248d62f3..99c44f63 100644 --- a/spec/table_spec.rb +++ b/spec/table_spec.rb @@ -2016,9 +2016,9 @@ describe 'Asciidoctor::PDF::Converter - Table' do 'first[1]', 'second[2]', 'third[3]', - '1. First footnote inside table', - '2. Second footnote inside table', - '3. Footnote outside of table', + '[1] First footnote inside table', + '[2] Second footnote inside table', + '[3] Footnote outside of table', ] (expect pdf.lines).to eql expected_lines end @@ -3247,7 +3247,7 @@ describe 'Asciidoctor::PDF::Converter - Table' do end it 'should not collapse margin below table with %unbreakable option' do - pdf = to_pdf <<~END, analyze: true + pdf = to_pdf <<~'EOS', analyze: true before [%unbreakable] @@ -3256,7 +3256,7 @@ describe 'Asciidoctor::PDF::Converter - Table' do |=== after - END + EOS before_text = pdf.find_unique_text 'before' table_text = pdf.find_unique_text 'will not be broken' @@ -3267,7 +3267,7 @@ describe 'Asciidoctor::PDF::Converter - Table' do end it 'should not collapse margin below table with %breakable option' do - pdf = to_pdf <<~END, pdf_theme: { caption_font_size: 10.5, table_cell_padding: 0 }, analyze: true + pdf = to_pdf <<~'EOS', pdf_theme: { caption_font_size: 10.5, table_cell_padding: 0 }, analyze: true before .title @@ -3277,7 +3277,7 @@ describe 'Asciidoctor::PDF::Converter - Table' do |=== after - END + EOS before_text = pdf.find_unique_text 'before' title_text = pdf.find_unique_text 'Table 1. title' @@ -3289,7 +3289,7 @@ describe 'Asciidoctor::PDF::Converter - Table' do end it 'should honor theme settings for caption on table that is enclosed in container' do - pdf = to_pdf <<~END, pdf_theme: { table_caption_font_color: '00ffff', table_caption_align: 'center' }, analyze: true + pdf = to_pdf <<~'EOS', pdf_theme: { table_caption_font_color: '00ffff', table_caption_align: 'center' }, analyze: true before .title @@ -3299,7 +3299,7 @@ describe 'Asciidoctor::PDF::Converter - Table' do |=== after - END + EOS before_text = pdf.find_unique_text 'before' title_text = pdf.find_unique_text 'Table 1. title' |
