summaryrefslogtreecommitdiff
path: root/spec/list_spec.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-05-14 14:38:28 -0600
committerGitHub <noreply@github.com>2022-05-14 14:38:28 -0600
commit3c27fbb4a74636325dee14c6d9e8c7146452e733 (patch)
tree7718efebf1419f6d5f6e1c4215a0a6fb092e081a /spec/list_spec.rb
parent77393d3459be6a91e118a0e16a37a1d6a414f9ca (diff)
resolves #2163 rename theme suffix with-fallback-font to with-font-fallbacks; add built-in default-sans theme (PR #2168)
Diffstat (limited to 'spec/list_spec.rb')
-rw-r--r--spec/list_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/list_spec.rb b/spec/list_spec.rb
index 91d4f865..3b4b9882 100644
--- a/spec/list_spec.rb
+++ b/spec/list_spec.rb
@@ -250,7 +250,7 @@ describe 'Asciidoctor::PDF::Converter - List' do
it 'should reserve enough space for marker that is not found in any font' do
pdf_theme = {
- extends: 'default-with-fallback-font',
+ extends: 'default-with-font-fallbacks',
ulist_marker_disc_content: ?\u2055,
}
pdf = to_pdf <<~'EOS', pdf_theme: pdf_theme, analyze: true
@@ -486,7 +486,7 @@ describe 'Asciidoctor::PDF::Converter - List' do
end
it 'should use glyph from fallback font if not present in main font', visual: true do
- pdf_theme = build_pdf_theme({ ulist_marker_checked_content: ?\u303c }, 'default-with-fallback-font')
+ pdf_theme = build_pdf_theme({ ulist_marker_checked_content: ?\u303c }, 'default-with-font-fallbacks')
to_file = to_pdf_file <<~'EOS', 'list-checked-glyph-fallback.pdf', pdf_theme: pdf_theme
* [x] done