ruby-changes:45926
From: svn <ko1@a...>
Date: Fri, 17 Mar 2017 10:29:29 +0900 (JST)
Subject: [ruby-changes:45926] svn:r57999 (trunk): * remove trailing spaces.
svn 2017-03-17 10:29:24 +0900 (Fri, 17 Mar 2017) New Revision: 57999 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57999 Log: * remove trailing spaces. Modified files: trunk/test/rubygems/test_gem_ext_rake_builder.rb Index: test/rubygems/test_gem_ext_rake_builder.rb =================================================================== --- test/rubygems/test_gem_ext_rake_builder.rb (revision 57998) +++ test/rubygems/test_gem_ext_rake_builder.rb (revision 57999) @@ -53,7 +53,7 @@ class TestGemExtRakeBuilder < Gem::TestC https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_ext_rake_builder.rb#L53 assert_match %r%^#{Regexp.escape @@ruby} mkrf_conf\.rb%, output assert_match %r%^#{Regexp.escape rake} RUBYARCHDIR=#{Regexp.escape @dest_path} RUBYLIBDIR=#{Regexp.escape @dest_path}%, output end - end + end def test_class_build_fail create_temp_mkrf_file("task :default do abort 'fail' end") @@ -69,7 +69,7 @@ class TestGemExtRakeBuilder < Gem::TestC https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_ext_rake_builder.rb#L69 assert_match %r%^rake failed%, error.message end end - + def create_temp_mkrf_file(rakefile_content) File.open File.join(@ext, 'mkrf_conf.rb'), 'w' do |mkrf_conf| mkrf_conf.puts <<-EO_MKRF -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/