diff options
Diffstat (limited to 'test/optparse')
-rw-r--r-- | test/optparse/test_getopts.rb | 1 | ||||
-rw-r--r-- | test/optparse/test_noarg.rb | 2 | ||||
-rw-r--r-- | test/optparse/test_optarg.rb | 2 | ||||
-rw-r--r-- | test/optparse/test_placearg.rb | 2 | ||||
-rw-r--r-- | test/optparse/test_reqarg.rb | 2 |
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 |