ruby-changes:39723
From: hsbt <ko1@a...>
Date: Wed, 9 Sep 2015 10:06:12 +0900 (JST)
Subject: [ruby-changes:39723] hsbt:r51804 (trunk): * test/rubygems/test_config.rb: fix broken tests for Windows platform.
hsbt 2015-09-09 10:05:47 +0900 (Wed, 09 Sep 2015) New Revision: 51804 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51804 Log: * test/rubygems/test_config.rb: fix broken tests for Windows platform. Modified files: trunk/ChangeLog trunk/test/rubygems/test_config.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 51803) +++ ChangeLog (revision 51804) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Sep 9 10:05:41 2015 SHIBATA Hiroshi <hsbt@r...> + + * test/rubygems/test_config.rb: fix broken tests for Windows platform. + Wed Sep 9 07:46:32 2015 SHIBATA Hiroshi <hsbt@r...> * lib/rubygems: Update to RubyGems HEAD(fe61e4c112). Index: test/rubygems/test_config.rb =================================================================== --- test/rubygems/test_config.rb (revision 51803) +++ test/rubygems/test_config.rb (revision 51804) @@ -12,13 +12,12 @@ class TestConfig < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_config.rb#L12 def test_good_rake_path_is_escaped path = Gem::TestCase.class_eval('@@good_rake') - assert_match(/ruby "[^"]*good_rake.rb"/, path) + assert_match(/#{Gem.ruby} "[^"]*good_rake.rb"/, path) end def test_bad_rake_path_is_escaped path = Gem::TestCase.class_eval('@@bad_rake') - assert_match(/ruby "[^"]*bad_rake.rb"/, path) + assert_match(/#{Gem.ruby} "[^"]*bad_rake.rb"/, path) end end - -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/