* 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
Родитель bd895e909d
Коммит 4198feb844
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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!