mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-09-17 17:24:08 +08:00
Removed -x and -y options
The -x and -y options now stand for --xlabel and --ylabel. These options should be used to specify the series in the future.
This commit is contained in:
@@ -155,21 +155,11 @@ class YouPlotSimpleTest < Test::Unit::TestCase
|
||||
assert_equal fixture('simple-lineplot-xlabel.txt'), @stderr_file.read
|
||||
end
|
||||
|
||||
test :line_x do
|
||||
YouPlot::Command.new(['line', '-x', 'X-LABEL']).run
|
||||
assert_equal fixture('simple-lineplot-xlabel.txt'), @stderr_file.read
|
||||
end
|
||||
|
||||
test :line_ylabel do
|
||||
YouPlot::Command.new(['line', '--ylabel', 'Y-LABEL']).run
|
||||
assert_equal fixture('simple-lineplot-ylabel.txt'), @stderr_file.read
|
||||
end
|
||||
|
||||
test :line_y do
|
||||
YouPlot::Command.new(['line', '-y', 'Y-LABEL']).run
|
||||
assert_equal fixture('simple-lineplot-ylabel.txt'), @stderr_file.read
|
||||
end
|
||||
|
||||
test :line_width do
|
||||
YouPlot::Command.new(['line', '--width', '17']).run
|
||||
assert_equal fixture('simple-lineplot-width-17.txt'), @stderr_file.read
|
||||
|
Reference in New Issue
Block a user