ruby-changes:4050
From: ko1@a...
Date: Mon, 18 Feb 2008 16:01:04 +0900 (JST)
Subject: [ruby-changes:4050] akr - Ruby:r15540 (trunk): use require_relative to require marshaltestlib and sentence.
akr 2008-02-18 15:59:47 +0900 (Mon, 18 Feb 2008)
New Revision: 15540
Modified files:
trunk/test/ruby/test_assignment.rb
trunk/test/ruby/test_marshal.rb
trunk/test/ruby/test_yield.rb
Log:
use require_relative to require marshaltestlib and sentence.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_assignment.rb?r1=15540&r2=15539&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_yield.rb?r1=15540&r2=15539&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_marshal.rb?r1=15540&r2=15539&diff_format=u
Index: test/ruby/test_assignment.rb
===================================================================
--- test/ruby/test_assignment.rb (revision 15539)
+++ test/ruby/test_assignment.rb (revision 15540)
@@ -490,7 +490,8 @@
end
end
-require 'sentence'
+require 'require_relative'
+require_relative 'sentence'
class TestAssignmentGen < Test::Unit::TestCase
Syntax = {
:exp => [["0"],
Index: test/ruby/test_marshal.rb
===================================================================
--- test/ruby/test_marshal.rb (revision 15539)
+++ test/ruby/test_marshal.rb (revision 15540)
@@ -1,5 +1,6 @@
require 'test/unit'
-require 'marshaltestlib'
+require 'require_relative'
+require_relative 'marshaltestlib'
class TestMarshal < Test::Unit::TestCase
include MarshalTestLib
Index: test/ruby/test_yield.rb
===================================================================
--- test/ruby/test_yield.rb (revision 15539)
+++ test/ruby/test_yield.rb (revision 15540)
@@ -74,7 +74,8 @@
end
end
-require 'sentence'
+require 'require_relative'
+require_relative 'sentence'
class TestRubyYieldGen < Test::Unit::TestCase
Syntax = {
:exp => [["0"],
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/