Fix a typo of c6a11b865e1f9085c88fe169a1f47680383580c2
It failed to define `refute_path_not_exist`
This commit is contained in:
parent
1b61cdd5e0
commit
bb8a759f6b
@ -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" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user