mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
use require_relative to require marshaltestlib and sentence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8efc7ea9ad
commit
f0b758a128
3 changed files with 6 additions and 3 deletions
|
@ -490,7 +490,8 @@ class TestAssignment < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'sentence'
|
require 'require_relative'
|
||||||
|
require_relative 'sentence'
|
||||||
class TestAssignmentGen < Test::Unit::TestCase
|
class TestAssignmentGen < Test::Unit::TestCase
|
||||||
Syntax = {
|
Syntax = {
|
||||||
:exp => [["0"],
|
:exp => [["0"],
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require 'marshaltestlib'
|
require 'require_relative'
|
||||||
|
require_relative 'marshaltestlib'
|
||||||
|
|
||||||
class TestMarshal < Test::Unit::TestCase
|
class TestMarshal < Test::Unit::TestCase
|
||||||
include MarshalTestLib
|
include MarshalTestLib
|
||||||
|
|
|
@ -74,7 +74,8 @@ class TestRubyYield < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'sentence'
|
require 'require_relative'
|
||||||
|
require_relative 'sentence'
|
||||||
class TestRubyYieldGen < Test::Unit::TestCase
|
class TestRubyYieldGen < Test::Unit::TestCase
|
||||||
Syntax = {
|
Syntax = {
|
||||||
:exp => [["0"],
|
:exp => [["0"],
|
||||||
|
|
Loading…
Reference in a new issue