summaryrefslogtreecommitdiff
path: root/spec/cli_spec.rb
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2019-06-17 17:32:05 -0600
committerGitHub <noreply@github.com>2019-06-17 17:32:05 -0600
commitfe8afee4c2193557d004affed4a36f5cc5ae71f3 (patch)
treea152269c71c13b145c8f84fa803f220b68ae9cb0 /spec/cli_spec.rb
parent87a9f2d9ce557087d642cb0d66ac2d841f18d568 (diff)
resolves #1102 add support for cgi-style options on source language when highlighting with Rouge (PR #1103)
- add support for cgi-style options on source language when syntax highlighting with Rouge - upgrade Rouge to 3.4.0 - test against Rouge ~> 2.0.0 in CI matrix - regenerate chronicles example
Diffstat (limited to 'spec/cli_spec.rb')
-rw-r--r--spec/cli_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb
index a7e5b426..07e6ca90 100644
--- a/spec/cli_spec.rb
+++ b/spec/cli_spec.rb
@@ -26,6 +26,6 @@ describe 'asciidoctor-pdf' do
(expect err).to be_empty
reference_file = File.absolute_path example_file 'chronicles-example.pdf'
(expect output_file 'chronicles-example.pdf').to visually_match reference_file
- end
+ end unless ENV['ROUGE_VERSION'] && ENV['ROUGE_VERSION'].split[-1] < '2.1.0'
end
end