From 48d402db88caa3e3d908a8691c421cf66f65a1de Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 2 Feb 2010 13:58:56 +0000 Subject: use require_relative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/optparse/test_getopts.rb | 1 + test/optparse/test_noarg.rb | 2 +- test/optparse/test_optarg.rb | 2 +- test/optparse/test_placearg.rb | 2 +- test/optparse/test_reqarg.rb | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) (limited to 'test/optparse') diff --git a/test/optparse/test_getopts.rb b/test/optparse/test_getopts.rb index fdefe5f3e5..1ba194ace1 100644 --- a/test/optparse/test_getopts.rb +++ b/test/optparse/test_getopts.rb @@ -1,4 +1,5 @@ require 'test/unit' +require 'optparse' class TestOptionParserGetopts < Test::Unit::TestCase def setup diff --git a/test/optparse/test_noarg.rb b/test/optparse/test_noarg.rb index 329956a61a..3e6ed42f91 100644 --- a/test/optparse/test_noarg.rb +++ b/test/optparse/test_noarg.rb @@ -1,4 +1,4 @@ -require 'test_optparse' +require_relative 'test_optparse' module TestOptionParser::NoArg class Def1 < TestOptionParser diff --git a/test/optparse/test_optarg.rb b/test/optparse/test_optarg.rb index 49cb1b93ec..2058e3719d 100644 --- a/test/optparse/test_optarg.rb +++ b/test/optparse/test_optarg.rb @@ -1,4 +1,4 @@ -require 'test_optparse' +require_relative 'test_optparse' class TestOptionParser::OptArg < TestOptionParser def setup diff --git a/test/optparse/test_placearg.rb b/test/optparse/test_placearg.rb index ea5810cbc5..1aec01efb4 100644 --- a/test/optparse/test_placearg.rb +++ b/test/optparse/test_placearg.rb @@ -1,4 +1,4 @@ -require 'test_optparse' +require_relative 'test_optparse' class TestOptionParser::PlaceArg < TestOptionParser def setup diff --git a/test/optparse/test_reqarg.rb b/test/optparse/test_reqarg.rb index 579794695a..47c9e9a8a7 100644 --- a/test/optparse/test_reqarg.rb +++ b/test/optparse/test_reqarg.rb @@ -1,4 +1,4 @@ -require 'test_optparse' +require_relative 'test_optparse' module TestOptionParser::ReqArg class Def1 < TestOptionParser -- cgit v1.2.3