aboutsummaryrefslogtreecommitdiffstats
path: root/test/optparse
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-02 13:58:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-02 13:58:56 +0000
commit48d402db88caa3e3d908a8691c421cf66f65a1de (patch)
tree3c2dc4d40152247d6285d068f500891f8ec6c897 /test/optparse
parent4dfd71005cf4ee14db965cd155417f8657ed2c24 (diff)
downloadruby-48d402db88caa3e3d908a8691c421cf66f65a1de.tar.gz
use require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/optparse')
-rw-r--r--test/optparse/test_getopts.rb1
-rw-r--r--test/optparse/test_noarg.rb2
-rw-r--r--test/optparse/test_optarg.rb2
-rw-r--r--test/optparse/test_placearg.rb2
-rw-r--r--test/optparse/test_reqarg.rb2
5 files changed, 5 insertions, 4 deletions
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