diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-07-18 23:48:23 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-07-19 02:18:33 -0600 |
| commit | ed0a6c55b616e74d098596a925e0dc19f2471a3d (patch) | |
| tree | a24d548e7a2549ad48d192c82c1a880a0c994a9e /spec/list_spec.rb | |
| parent | 086d6cd39a740fe8d3bba67ca4b95a94978cecc2 (diff) | |
remove use of build_pdf_theme except where needed
Diffstat (limited to 'spec/list_spec.rb')
| -rw-r--r-- | spec/list_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/list_spec.rb b/spec/list_spec.rb index c77421b8..16da00ef 100644 --- a/spec/list_spec.rb +++ b/spec/list_spec.rb @@ -486,8 +486,10 @@ 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-font-fallbacks') - + pdf_theme = { + extends: 'default-with-font-fallbacks', + ulist_marker_checked_content: ?\u303c, + } to_file = to_pdf_file <<~'EOS', 'list-checked-glyph-fallback.pdf', pdf_theme: pdf_theme * [x] done EOS |
