1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
It failed to define `refute_path_not_exist`
This commit is contained in:
Yusuke Endoh 2021-05-11 19:46:15 +09:00
parent 1b61cdd5e0
commit bb8a759f6b

View file

@ -452,7 +452,7 @@ module MiniTest
msg = message(msg) { "Expected path '#{path}' to exist" }
assert File.exist?(path), msg
end
alias assert_path_exist assert_path_exists
alias refute_path_not_exist assert_path_exists
def refute_path_exists(path, msg = nil)
msg = message(msg) { "Expected path '#{path}' to not exist" }