diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-05-11 19:46:15 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-07-07 10:03:15 +0900 |
commit | 596a99ac7faf4e7cc25fedb2b17fa49918323d56 (patch) | |
tree | 0d4be05f36861b3f5fe56b3867488d5924f0354d /tool | |
parent | 152397e495650dc5d55b85796a4272c3b52e0b15 (diff) |
Fix a typo of c6a11b865e1f9085c88fe169a1f47680383580c2
It failed to define `refute_path_not_exist`
Diffstat (limited to 'tool')
-rw-r--r-- | tool/lib/minitest/unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/minitest/unit.rb b/tool/lib/minitest/unit.rb index c885ae90e4..01e396ea24 100644 --- a/tool/lib/minitest/unit.rb +++ b/tool/lib/minitest/unit.rb @@ -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" } |