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:
parent
f0b758a128
commit
1d2e4d830c
4 changed files with 8 additions and 5 deletions
|
@ -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__))
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
require 'test/unit'
|
||||
require 'tempfile'
|
||||
require 'ut_eof'
|
||||
require 'require_relative'
|
||||
require_relative 'ut_eof'
|
||||
|
||||
class TestFile < Test::Unit::TestCase
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
require 'test/unit'
|
||||
require 'ut_eof'
|
||||
require 'require_relative'
|
||||
require_relative 'ut_eof'
|
||||
|
||||
class TestPipe < Test::Unit::TestCase
|
||||
include TestEOF
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue