Rubocop auto correct

This commit is contained in:
kojix2 2021-01-27 17:30:14 +09:00
parent b165de43ed
commit 75db26da53
3 changed files with 3 additions and 4 deletions

View File

@ -185,7 +185,7 @@ module YouPlot
The first item is: \e[35m\"#{series[0][0]}\"\e[0m
The last item is : \e[35m\"#{series[0][-1]}\"\e[0m
EOS
# Note: Error messages cannot be colored.
# NOTE: Error messages cannot be colored.
YouPlot.run_as_executable ? exit(1) : raise(Error)
end
if fmt == 'xyxy' && series.size.odd?
@ -195,7 +195,7 @@ module YouPlot
Number of series: \e[35m#{series.size}\e[0m
Headers: \e[35m#{data.headers.inspect}\e[0m
EOS
# Note: Error messages cannot be colored.
# NOTE: Error messages cannot be colored.
YouPlot.run_as_executable ? exit(1) : raise(Error)
end
end

View File

@ -253,7 +253,6 @@ class YouPlotSimpleTest < Test::Unit::TestCase
assert_equal fixture('simple-lineplot-ylim--25-50.txt'), @stderr_file.read
end
test :line_xlim_and_ylim do
YouPlot::Command.new(['line', '--xlim', '-1,5', '--ylim', '-25,50']).run
assert_equal fixture('simple-lineplot-xlim--1-5-ylim--25-50.txt'), @stderr_file.read