ruby-changes:45339
From: svn <ko1@a...>
Date: Tue, 24 Jan 2017 11:39:08 +0900 (JST)
Subject: [ruby-changes:45339] svn:r57413 (trunk): * remove trailing spaces.
svn 2017-01-24 11:38:58 +0900 (Tue, 24 Jan 2017) New Revision: 57413 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57413 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 57412) +++ test/rubygems/test_gem_ext_rake_builder.rb (revision 57413) @@ -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/