diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-05-11 19:46:15 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-05-11 19:46:15 +0900 |
commit | bb8a759f6b0156cb4752cf8cc0ca506b3e8dccec (patch) | |
tree | ae224b24d7751908260ae2be7b25a4fc19f0e908 /tool/lib | |
parent | 1b61cdd5e0997b18ac63cbb21911d0e286df26d3 (diff) |
Fix a typo of c6a11b865e1f9085c88fe169a1f47680383580c2
It failed to define `refute_path_not_exist`
Diffstat (limited to 'tool/lib')
-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 dad3eff991..252ca70098 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" } |