ruby-changes:46539
From: naruse <ko1@a...>
Date: Thu, 11 May 2017 08:38:35 +0900 (JST)
Subject: [ruby-changes:46539] naruse:r58660 (trunk): pass as exception
naruse 2017-05-11 08:38:28 +0900 (Thu, 11 May 2017) New Revision: 58660 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58660 Log: pass as exception Modified files: trunk/test/rubygems/test_gem_gem_runner.rb Index: test/rubygems/test_gem_gem_runner.rb =================================================================== --- test/rubygems/test_gem_gem_runner.rb (revision 58659) +++ test/rubygems/test_gem_gem_runner.rb (revision 58660) @@ -6,7 +6,8 @@ ensure https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_gem_runner.rb#L6 if $! if Dir.exist?(ENV["GEM_HOME"]) require "find" - Find.find(ENV["GEM_HOME"]).each{|l|puts l} + ary = Find.find(ENV["GEM_HOME"]).map{|l|puts l} + raise ary.inspect end end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/