diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | test/runner.rb | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -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 diff --git a/test/runner.rb b/test/runner.rb index 969b56890b..8d1b9dc20c 100644 --- a/test/runner.rb +++ b/test/runner.rb @@ -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! |