Skip to content

Commit

Permalink
fix check for macOS in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Nov 9, 2023
1 parent e1bd0c8 commit 1195653
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/optimizer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
end

# can't test on macOS due to an incompatible version of poppler
it 'should apply grayscale color mode modifier on quality when optimizing output file', unless: Gem::Platform.local == 'darwin', visual: true do
it 'should apply grayscale color mode modifier on quality when optimizing output file', unless: Gem::Platform.local.os == 'darwin', visual: true do
%w(gray grayscale).each do |mode|
input_file = Pathname.new fixture_file 'with-color.adoc'
to_file = to_pdf_file input_file, 'optimizer-gray.pdf', attribute_overrides: { 'optimize' => %(screen:#{mode}) }
Expand Down

0 comments on commit 1195653

Please sign in to comment.