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
|
||||
}
|
||||
if tests and not ARGV.empty?
|
||||
$stderr.puts "--tests and arguments are exclusive"
|
||||
exit false
|
||||
abort "--sets and arguments are exclusive"
|
||||
end
|
||||
tests ||= ARGV
|
||||
tests = Dir.glob("#{File.dirname($0)}/test_*.rb").sort if tests.empty?
|
||||
|
|
Loading…
Reference in a new issue