summaryrefslogtreecommitdiff
path: root/test/optparse
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-22 12:33:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-22 12:33:33 +0000
commit85a4f84e79ac0e7f7a57c7979190ca6072cf136c (patch)
tree06e461d55a0263fbb51ee56e3fd4fdd381f43481 /test/optparse
parent2926a585ffba2029ea8b2be6b25a2f13b743a1be (diff)
* test/optparse/test_summary.rb: fixed superclass so that it run
solely. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/optparse')
-rw-r--r--test/optparse/test_summary.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/optparse/test_summary.rb b/test/optparse/test_summary.rb
index 12744a8..0c67d7f 100644
--- a/test/optparse/test_summary.rb
+++ b/test/optparse/test_summary.rb
@@ -1,8 +1,6 @@
-require 'test/unit'
-require 'optparse'
+require_relative 'test_optparse'
-class TestOptionParser < Test::Unit::TestCase; end
-class TestOptionParser::SummaryTest < Test::Unit::TestCase
+class TestOptionParser::SummaryTest < TestOptionParser
def test_short_clash
r = nil
o = OptionParser.new do |opts|