1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* test/runner.rb: arguments should be keys.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2003-09-05 04:32:51 +00:00
parent bd895e909d
commit 4198feb844
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Sep 5 13:32:48 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/runner.rb: arguments should be keys.
Fri Sep 5 12:09:55 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* test/ruby/test_system.rb (test_system): check existence of ruby

View file

@ -36,7 +36,7 @@ runner = 'console'
ARGV.options do |opt|
opt.program_name = $0
opt.banner << " [tests...]"
opt.on("--runner=mode", runners_map, "UI mode (console, gtk,fox)") do |arg|
opt.on("--runner=mode", runners_map.keys, "UI mode (console, gtk,fox)") do |arg|
runner = arg
end
opt.parse!