From 350c700c98ea7633693e1ef3320cc545ab60258b Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 18 Feb 2008 08:09:05 +0000 Subject: use require_relative to require ut_eof and envutil. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_beginendblock.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby/test_beginendblock.rb') diff --git a/test/ruby/test_beginendblock.rb b/test/ruby/test_beginendblock.rb index 21b9b4c33..2f6a5437f 100644 --- a/test/ruby/test_beginendblock.rb +++ b/test/ruby/test_beginendblock.rb @@ -1,7 +1,7 @@ require 'test/unit' require 'tempfile' -$:.replace([File.dirname(File.expand_path(__FILE__))] | $:) -require 'envutil' +require 'require_relative' +require_relative 'envutil' class TestBeginEndBlock < Test::Unit::TestCase DIR = File.dirname(File.expand_path(__FILE__)) -- cgit