ruby-changes:27890
From: xibbar <ko1@a...>
Date: Tue, 26 Mar 2013 23:37:36 +0900 (JST)
Subject: [ruby-changes:27890] xibbar:r39942 (trunk): * test/minitest/test_*.rb: use require_relative to require local library
xibbar 2013-03-26 23:37:24 +0900 (Tue, 26 Mar 2013) New Revision: 39942 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39942 Log: * test/minitest/test_*.rb: use require_relative to require local library Modified files: trunk/test/minitest/test_minitest_mock.rb trunk/test/minitest/test_minitest_unit.rb Index: test/minitest/test_minitest_mock.rb =================================================================== --- test/minitest/test_minitest_mock.rb (revision 39941) +++ test/minitest/test_minitest_mock.rb (revision 39942) @@ -276,7 +276,7 @@ class TestMiniTestMock < MiniTest::Unit: https://github.com/ruby/ruby/blob/trunk/test/minitest/test_minitest_mock.rb#L276 end end -require "minitest/metametameta" +require_relative "metametameta" class TestMiniTestStub < MiniTest::Unit::TestCase parallelize_me! if ENV["PARALLEL"] Index: test/minitest/test_minitest_unit.rb =================================================================== --- test/minitest/test_minitest_unit.rb (revision 39941) +++ test/minitest/test_minitest_unit.rb (revision 39942) @@ -6,7 +6,7 @@ https://github.com/ruby/ruby/blob/trunk/test/minitest/test_minitest_unit.rb#L6 ###################################################################### require 'pathname' -require 'minitest/metametameta' +require_relative 'metametameta' module MyModule; end class AnError < StandardError; include MyModule; end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/