diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-10 23:38:28 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-05-10 23:38:28 +0000 |
commit | c47e21315c67e23933e77e73fdb209ea37775996 (patch) | |
tree | df1b2230139a1c4b728f19325270bc937219e8c1 | |
parent | 8f9a46a3043422253b5fef27a5f350c1a14740a7 (diff) | |
download | ruby-c47e21315c67e23933e77e73fdb209ea37775996.tar.gz |
pass as exception
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | test/rubygems/test_gem_gem_runner.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_gem_runner.rb b/test/rubygems/test_gem_gem_runner.rb index a9ce4e77d8..5ab3aa0c30 100644 --- a/test/rubygems/test_gem_gem_runner.rb +++ b/test/rubygems/test_gem_gem_runner.rb @@ -6,7 +6,8 @@ ensure 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 |