From 75db26da53d7c2dce4367e02ab8d92d2634341ff Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Wed, 27 Jan 2021 17:30:14 +0900 Subject: [PATCH] Rubocop auto correct --- lib/youplot/backends/unicode_plot_backend.rb | 4 ++-- test/unicode_plot_test.rb | 2 +- test/youplot/simple_test.rb | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/youplot/backends/unicode_plot_backend.rb b/lib/youplot/backends/unicode_plot_backend.rb index 3b198cb..95a34e9 100644 --- a/lib/youplot/backends/unicode_plot_backend.rb +++ b/lib/youplot/backends/unicode_plot_backend.rb @@ -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 diff --git a/test/unicode_plot_test.rb b/test/unicode_plot_test.rb index 88c3b04..fe52f4e 100644 --- a/test/unicode_plot_test.rb +++ b/test/unicode_plot_test.rb @@ -17,4 +17,4 @@ class UnicodePlotTest < Test::Unit::TestCase test 'PREDEFINED_TRANSFORM_FUNCTIONS' do assert_instance_of Hash, UnicodePlot::ValueTransformer::PREDEFINED_TRANSFORM_FUNCTIONS end -end \ No newline at end of file +end diff --git a/test/youplot/simple_test.rb b/test/youplot/simple_test.rb index c4a4e2e..12b4e9f 100644 --- a/test/youplot/simple_test.rb +++ b/test/youplot/simple_test.rb @@ -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