From 1ee3e9600c906dc9ba37c51108cf91a71de82c98 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 12 Sep 2009 17:00:51 +0000 Subject: * test: use require_relative. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/stringio/test_stringio.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/stringio') diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb index 570f180fc..df292e8a8 100644 --- a/test/stringio/test_stringio.rb +++ b/test/stringio/test_stringio.rb @@ -1,9 +1,6 @@ require 'test/unit' require 'stringio' -dir = File.expand_path(__FILE__) -2.times {dir = File.dirname(dir)} -$:.replace([File.join(dir, "ruby")] | $:) -require 'ut_eof' +require_relative '../ruby/ut_eof' class TestStringIO < Test::Unit::TestCase include TestEOF -- cgit