diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-11 12:25:46 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-12 17:24:43 +0900 |
commit | c30594bb0c23b5b23c3d3ca490e3cac34d09c1f9 (patch) | |
tree | f926189d35a363d9ad71b8e0359aa7a9662fec9f /test/rubygems/test_gem_request_connection_pools.rb | |
parent | 2c0072dec58cb5f99a072a3b2dd341974ec84887 (diff) | |
download | ruby-c30594bb0c23b5b23c3d3ca490e3cac34d09c1f9.tar.gz |
[rubygems/rubygems] Use assert_raise instead of assert_raises
https://github.com/rubygems/rubygems/commit/769e87f011
Diffstat (limited to 'test/rubygems/test_gem_request_connection_pools.rb')
-rw-r--r-- | test/rubygems/test_gem_request_connection_pools.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_request_connection_pools.rb b/test/rubygems/test_gem_request_connection_pools.rb index 2bd2d28469..a6ab002396 100644 --- a/test/rubygems/test_gem_request_connection_pools.rb +++ b/test/rubygems/test_gem_request_connection_pools.rb @@ -140,7 +140,7 @@ class TestGemRequestConnectionPool < Gem::TestCase pool.checkout Thread.new do - assert_raises(Timeout::Error) do + assert_raise(Timeout::Error) do Timeout.timeout(1) do pool.checkout end |