From bb8a759f6b0156cb4752cf8cc0ca506b3e8dccec Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Tue, 11 May 2021 19:46:15 +0900 Subject: [PATCH] Fix a typo of c6a11b865e1f9085c88fe169a1f47680383580c2 It failed to define `refute_path_not_exist` --- tool/lib/minitest/unit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }