Skip to content

Commit

Permalink
Fix CI failure due to renamed #exception= to #error= in minitest …
Browse files Browse the repository at this point in the history
…5.14.0

minitest/minitest@5802aa0
minitest/minitest#809 (comment)

To support both 5.13.0 and 5.14.0, use `#initialize` instead.
  • Loading branch information
kamipo committed Jan 12, 2020
1 parent ee0d215 commit 2bf1c17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Expand Up @@ -320,7 +320,7 @@ GEM
mini_magick (4.10.1)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.13.0)
minitest (5.14.0)
minitest-bisect (1.5.1)
minitest-server (~> 1.0)
path_expander (~> 1.1)
Expand Down
Expand Up @@ -102,7 +102,7 @@ def start
queue.record(reporter, result)
rescue DRb::DRbConnError
result.failures.each do |failure|
failure.exception = DRb::DRbRemoteError.new(failure.exception)
failure.send(:initialize, DRb::DRbRemoteError.new(failure.exception))
end
queue.record(reporter, result)
end
Expand Down

0 comments on commit 2bf1c17

Please sign in to comment.