Skip to content

Commit

Permalink
replace END with EOS in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Feb 4, 2024
1 parent 1a90f7d commit 50a9d5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/font_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
end

it 'should resolve glyph in fallback font when styles are inherited', visual: true do
input = <<~'END'
input = <<~'EOS'
|===
|&#x2611; For | &#x2610; Against
|Tastes great
|High in sugar
|===
END
EOS

to_file = to_pdf_file input, 'fallback-font-inherited-styles.pdf', attribute_overrides: { 'pdf-theme' => 'default-with-font-fallbacks' }
(expect to_file).to visually_match 'fallback-font-inherited-styles.pdf'
Expand Down
4 changes: 2 additions & 2 deletions spec/index_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@
end

it 'should adjust start page number for prepress book when page numbering starts after-toc and toc macro is used' do
pdf = to_pdf <<~'END', pdf_theme: { page_numbering_start_at: 'after-toc' }, analyze: true
pdf = to_pdf <<~'EOS', pdf_theme: { page_numbering_start_at: 'after-toc' }, analyze: true
= Book Title
:doctype: book
:media: prepress
Expand All @@ -533,7 +533,7 @@
[index]
== Index
END
EOS

index_title_text = (pdf.find_text 'Index')[-1]
(expect index_title_text[:page_number]).to be 9
Expand Down

0 comments on commit 50a9d5e

Please sign in to comment.