1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

use require_relative to require ut_eof and envutil.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-02-18 08:09:05 +00:00
parent f0b758a128
commit 1d2e4d830c
4 changed files with 8 additions and 5 deletions

View file

@ -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__))

View file

@ -1,6 +1,7 @@
require 'test/unit'
require 'tempfile'
require 'ut_eof'
require 'require_relative'
require_relative 'ut_eof'
class TestFile < Test::Unit::TestCase

View file

@ -1,5 +1,6 @@
require 'test/unit'
require 'ut_eof'
require 'require_relative'
require_relative 'ut_eof'
class TestPipe < Test::Unit::TestCase
include TestEOF

View file

@ -1,6 +1,7 @@
require 'test/unit'
require 'envutil'
require 'tmpdir'
require 'require_relative'
require_relative 'envutil'
class TestSystem < Test::Unit::TestCase
def valid_syntax?(code, fname)