diff options
author | Hiroshi SHIBATA <[email protected]> | 2020-05-25 21:05:45 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2021-05-12 17:24:43 +0900 |
commit | 3948be350312b908ea3ecf32ecf1adf420fe74ca (patch) | |
tree | 8f01de8e25e201e16a4f15b1124f7251a892d0a4 /lib/rubygems | |
parent | 81d793a9216303f70143b13a88c924c22ce4af6d (diff) |
[rubygems/rubygems] Use assert_path_exist and assert_path_not_exist instead of assert_path_exists and refute_path_exists
https://github.com/rubygems/rubygems/commit/a7c93558c3
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4491
Diffstat (limited to 'lib/rubygems')
-rw-r--r-- | lib/rubygems/test_case.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 772556139e..7075347166 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -141,7 +141,7 @@ class Gem::TestCase < Test::Unit::TestCase def assert_directory_exists(path, msg = nil) msg = build_message(msg, "Expected path '#{path}' to be a directory") - assert_path_exists path + assert_path_exist path assert File.directory?(path), msg end |