ruby-changes:61100
From: David <ko1@a...>
Date: Fri, 8 May 2020 14:14:09 +0900 (JST)
Subject: [ruby-changes:61100] c58d69e698 (master): [rubygems/rubygems] Condense some artificially broken lines
https://git.ruby-lang.org/ruby.git/commit/?id=c58d69e698 From c58d69e6982b2261f0533e846de4c54d04a1f293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Sat, 2 May 2020 12:02:53 +0200 Subject: [rubygems/rubygems] Condense some artificially broken lines Co-authored-by: MSP-Greg <MSP-Greg@u...> https://github.com/rubygems/rubygems/commit/5f390478c7 diff --git a/test/rubygems/test_gem_ext_builder.rb b/test/rubygems/test_gem_ext_builder.rb index d85dcfd..5727077 100644 --- a/test/rubygems/test_gem_ext_builder.rb +++ b/test/rubygems/test_gem_ext_builder.rb @@ -227,27 +227,21 @@ install: https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_ext_builder.rb#L227 end assert_match(/\AERROR: Failed to build gem native extension.$/, e.message) - - assert_equal "Building native extensions. This could take a while...\n", - @ui.output + assert_equal "Building native extensions. This could take a while...\n", @ui.output assert_equal '', @ui.error gem_make_out = File.join @spec.extension_dir, 'gem_make.out' cmd_make_out = File.read(gem_make_out) - assert_match %r{#{Regexp.escape Gem.ruby}.* extconf\.rb}, - cmd_make_out - assert_match %r{: No such file}, - cmd_make_out + assert_match %r{#{Regexp.escape Gem.ruby}.* extconf\.rb}, cmd_make_out + assert_match %r{: No such file}, cmd_make_out refute_path_exists @spec.gem_build_complete_path skip "Gem.ruby is not the name of the binary being run in the end" \ unless cmd_make_out.include? "#{Gem.ruby}:" - assert_match %r{#{Regexp.escape Gem.ruby}: No such file}, - cmd_make_out - + assert_match %r{#{Regexp.escape Gem.ruby}: No such file}, cmd_make_out assert_equal cwd, Dir.pwd end @@ -263,9 +257,7 @@ install: https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_ext_builder.rb#L257 end assert_match(/^\s*No builder for extension ''$/, e.message) - - assert_equal "Building native extensions. This could take a while...\n", - @ui.output + assert_equal "Building native extensions. This could take a while...\n", @ui.output assert_equal '', @ui.error assert_equal "No builder for extension ''\n", File.read(gem_make_out) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/