diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-18 06:59:47 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-18 06:59:47 +0000 |
commit | 558b40c6b42a41c103b348806b8e997d6181a742 (patch) | |
tree | ffd82645d266079f1cfb3dbefa936f43819ff91e /test | |
parent | f049ab55aa2114d91b1ad195df5a70f19fb219b4 (diff) | |
download | ruby-558b40c6b42a41c103b348806b8e997d6181a742.tar.gz ruby-558b40c6b42a41c103b348806b8e997d6181a742.tar.xz ruby-558b40c6b42a41c103b348806b8e997d6181a742.zip |
use require_relative to require marshaltestlib and sentence.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_assignment.rb | 3 | ||||
-rw-r--r-- | test/ruby/test_marshal.rb | 3 | ||||
-rw-r--r-- | test/ruby/test_yield.rb | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/test/ruby/test_assignment.rb b/test/ruby/test_assignment.rb index df0ae0713..2b22613c5 100644 --- a/test/ruby/test_assignment.rb +++ b/test/ruby/test_assignment.rb @@ -490,7 +490,8 @@ class TestAssignment < Test::Unit::TestCase end end -require 'sentence' +require 'require_relative' +require_relative 'sentence' class TestAssignmentGen < Test::Unit::TestCase Syntax = { :exp => [["0"], diff --git a/test/ruby/test_marshal.rb b/test/ruby/test_marshal.rb index a7f28c0f8..ce9882b5e 100644 --- a/test/ruby/test_marshal.rb +++ b/test/ruby/test_marshal.rb @@ -1,5 +1,6 @@ require 'test/unit' -require 'marshaltestlib' +require 'require_relative' +require_relative 'marshaltestlib' class TestMarshal < Test::Unit::TestCase include MarshalTestLib diff --git a/test/ruby/test_yield.rb b/test/ruby/test_yield.rb index ead0715d4..e1169f5d5 100644 --- a/test/ruby/test_yield.rb +++ b/test/ruby/test_yield.rb @@ -74,7 +74,8 @@ class TestRubyYield < Test::Unit::TestCase end end -require 'sentence' +require 'require_relative' +require_relative 'sentence' class TestRubyYieldGen < Test::Unit::TestCase Syntax = { :exp => [["0"], |