summaryrefslogtreecommitdiff
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)
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 fdefe5f..1ba194a 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 329956a..3e6ed42 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 49cb1b9..2058e37 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 ea5810c..1aec01e 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 5797946..47c9e9a 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