[test-unit-commit:00012] test-unit/test-unit [master] remove needless 'on's.

Kouhei Sutou kou @ clear-code.com
2011年 4月 17日 (日) 04:17:25 EDT


Kouhei Sutou	2011-04-17 08:17:25 +0000 (Sun, 17 Apr 2011)

  New Revision: 031db4e3c8c3df86046a4cde3104438a654ba6be

  Log:
    remove needless 'on's.

  Modified files:
    lib/test/unit/autorunner.rb

  Modified: lib/test/unit/autorunner.rb (+0 -2)
===================================================================
--- lib/test/unit/autorunner.rb    2011-04-15 14:37:48 +0000 (50e8af9)
+++ lib/test/unit/autorunner.rb    2011-04-17 08:17:25 +0000 (31fc130)
@@ -160,14 +160,12 @@ module Test
           o.banner = "Test::Unit automatic runner."
           o.banner << "\nUsage: #{$0} [options] [-- untouched arguments]"
 
-          o.on
           o.on('-r', '--runner=RUNNER', RUNNERS,
                "Use the given RUNNER.",
                "(" + keyword_display(RUNNERS) + ")") do |r|
             @runner = r
           end
 
-          o.on
           o.on('--collector=COLLECTOR', COLLECTORS,
                "Use the given COLLECTOR.",
                "(" + keyword_display(COLLECTORS) + ")") do |collector|



test-unit-commit メーリングリストの案内