Fix a typo of c6a11b865e1f9085c88fe169a1f47680383580c2

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" }