diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 12:09:19 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-30 12:09:19 +0000 |
commit | d07346a1021039cc239bffd9286f03f13f5098d0 (patch) | |
tree | 9a380d8765e53d6575019084bb28ea6113e86982 /lib/test | |
parent | bb4410a2890fab69271145a09f895c91a8ee8863 (diff) | |
download | ruby-d07346a1021039cc239bffd9286f03f13f5098d0.tar.gz |
* lib/test/unit/parallel.rb (Test::Unit::Worker.run): wrap LoadError
because it's Gem::LoadError sometimes. see [Bug #6882]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/test')
-rw-r--r-- | lib/test/unit/parallel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit/parallel.rb b/lib/test/unit/parallel.rb index 921c6b0b02..d1891838f7 100644 --- a/lib/test/unit/parallel.rb +++ b/lib/test/unit/parallel.rb @@ -113,7 +113,7 @@ module Test begin require $1 rescue LoadError - _report "after", Marshal.dump([$1, $!]) + _report "after", Marshal.dump([$1, ProxyError.new($!)]) _report "ready" next end |