diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-12 16:01:49 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-12 17:24:43 +0900 |
commit | 81720b947ac1ee8ed5dba551d38014810f9c129b (patch) | |
tree | e43576cbe3124e4b5bf982ac8eb03b087f7425f2 | |
parent | cdcfe1082c54830de810c22095635a31405c043b (diff) | |
download | ruby-81720b947ac1ee8ed5dba551d38014810f9c129b.tar.gz |
Use assert_raise instead of assert_raises
-rw-r--r-- | test/rdoc/test_rdoc_rubygems_hook.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rdoc/test_rdoc_rubygems_hook.rb b/test/rdoc/test_rdoc_rubygems_hook.rb index 7d59577d97..ab7d95cac2 100644 --- a/test/rdoc/test_rdoc_rubygems_hook.rb +++ b/test/rdoc/test_rdoc_rubygems_hook.rb @@ -211,7 +211,7 @@ class TestRDocRubygemsHook < Gem::TestCase FileUtils.mkdir_p @a.base_dir FileUtils.chmod 0, @a.base_dir - e = assert_raises Gem::FilePermissionError do + e = assert_raise Gem::FilePermissionError do @hook.remove end @@ -241,7 +241,7 @@ class TestRDocRubygemsHook < Gem::TestCase FileUtils.mkdir_p @a.doc_dir FileUtils.chmod 0, @a.doc_dir - e = assert_raises Gem::FilePermissionError do + e = assert_raise Gem::FilePermissionError do @hook.setup end |