ruby-changes:66145
From: Yusuke <ko1@a...>
Date: Tue, 11 May 2021 19:47:04 +0900 (JST)
Subject: [ruby-changes:66145] bb8a759f6b (master): Fix a typo of c6a11b865e1f9085c88fe169a1f47680383580c2
https://git.ruby-lang.org/ruby.git/commit/?id=bb8a759f6b From bb8a759f6b0156cb4752cf8cc0ca506b3e8dccec Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Tue, 11 May 2021 19:46:15 +0900 Subject: 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 dad3eff..252ca70 100644 --- a/tool/lib/minitest/unit.rb +++ b/tool/lib/minitest/unit.rb @@ -452,7 +452,7 @@ module MiniTest https://github.com/ruby/ruby/blob/trunk/tool/lib/minitest/unit.rb#L452 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" } -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/