mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test: use require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
945b604e3a
commit
6bbed0e31b
7 changed files with 7 additions and 35 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue