summaryrefslogtreecommitdiff
path: root/test/optparse/test_summary.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/optparse/test_summary.rb')
-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|