diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-05-21 02:14:15 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-05-21 02:14:15 -0600 |
| commit | 5d9176f9f449ac4fd3b05cc51a21852b9221bd76 (patch) | |
| tree | e8a01b28a6852424140c521b3378f6aebecbcc2b /spec | |
| parent | 6e48dc9b53c1ffaf1513b86aabeea0f7b21e4c2c (diff) | |
remove debug flag in test suite
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/listing_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/listing_spec.rb b/spec/listing_spec.rb index 76e1e78f..7b2180f7 100644 --- a/spec/listing_spec.rb +++ b/spec/listing_spec.rb @@ -221,7 +221,7 @@ describe 'Asciidoctor::PDF::Converter - Listing' do pdf = to_pdf input, pdf_theme: pdf_theme, analyze: true (expect pdf.find_text %r/^ooo/).to have_size 3 - lines = (to_pdf input, pdf_theme: pdf_theme, analyze: :line, debug: true).lines.sort_by {|it| -it[:from][:y] } + lines = (to_pdf input, pdf_theme: pdf_theme, analyze: :line).lines.sort_by {|it| -it[:from][:y] } (expect lines).to have_size 4 (expect lines[0][:color]).to eql '0000EE' (expect lines[1][:color]).to eql 'CCCCCC' |
