mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix the option name in the error message [ci skip]
This commit is contained in:
parent
ea22403653
commit
12e5e5b573
1 changed files with 1 additions and 2 deletions
|
@ -154,8 +154,7 @@ End
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
if tests and not ARGV.empty?
|
if tests and not ARGV.empty?
|
||||||
$stderr.puts "--tests and arguments are exclusive"
|
abort "--sets and arguments are exclusive"
|
||||||
exit false
|
|
||||||
end
|
end
|
||||||
tests ||= ARGV
|
tests ||= ARGV
|
||||||
tests = Dir.glob("#{File.dirname($0)}/test_*.rb").sort if tests.empty?
|
tests = Dir.glob("#{File.dirname($0)}/test_*.rb").sort if tests.empty?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue