We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e01064 commit ed6b05aCopy full SHA for ed6b05a
spec/plot_spec.rb
@@ -178,12 +178,14 @@
178
available_terminals = {
179
'png' => 'image/png',
180
'pngcairo' => 'image/png',
181
- 'jpeg' => 'image/jpeg',
+ # 'jpeg' => 'image/jpeg',
182
'svg' => 'image/svg+xml',
183
'dumb' => 'text/plain'
184
}
185
available_terminals.each do |term, type|
186
- expect(Plot.new(['sin(x)'], term: term).to_iruby[0]).to eql(type)
+ if OptionHandling::valid_terminal?(term)
187
+ expect(Plot.new('sin(x)', term: term).to_iruby[0]).to eql(type)
188
+ end
189
end
190
191
0 commit comments